初始提交

This commit is contained in:
2025-06-27 00:32:57 +08:00
commit e40bb2ba8a
5134 changed files with 2158460 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
#ifndef usart2_h__
#define usart2_h__
#include "stdint.h"
void usart2_init(void);
void usart2_deinit(void);
void usart2_set_cbcall(void (*cb)(uint8_t));
int usart2_get_byte(uint8_t *data);
int usart2_put_byte(uint8_t data);
int usart2_clear(void);
#endif