2019-12-30 21:27:47 +01:00
|
|
|
#ifndef UART_H_
|
|
|
|
#define UART_H_
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
/* *********************************************************************** */
|
|
|
|
|
|
|
|
void uart_send (uint8_t data);
|
|
|
|
uint8_t uart_recv (void);
|
2020-01-08 23:46:19 +01:00
|
|
|
uint8_t uart_rx_ready (void);
|
2019-12-30 21:27:47 +01:00
|
|
|
|
|
|
|
void uart_recv_buf (uint8_t * p_data, uint16_t data_length);
|
|
|
|
|
|
|
|
void uart_init (void);
|
|
|
|
|
|
|
|
/* *********************************************************************** */
|
|
|
|
|
|
|
|
#endif /* UART_H_ */
|