12 lines
293 B
C
12 lines
293 B
C
#ifndef UART_H
|
|
#define UART_H
|
|
|
|
void UART_init(void);
|
|
void UART_send(uint8_t* data, size_t length);
|
|
void UART_put_char(unsigned char sym);
|
|
int UART_get_char(unsigned char* sym);
|
|
void UART_send_str(const unsigned char* data);
|
|
int UART_receive(uint8_t* data, size_t length);
|
|
|
|
|
|
#endif /* UART_H */ |