初始提交
This commit is contained in:
34
Project/Src/Drive/Include/usart2.h
Normal file
34
Project/Src/Drive/Include/usart2.h
Normal 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user