sync
This commit is contained in:
8
firmware/include/uart.h
Normal file
8
firmware/include/uart.h
Normal file
@@ -0,0 +1,8 @@
|
||||
#ifndef _UART_H_
|
||||
#define _UART_H_
|
||||
|
||||
int uart_init(void);
|
||||
int uart_write(const uint8_t *data, size_t len, k_timeout_t timeout);
|
||||
int uart_write_string(const char *str, k_timeout_t timeout);
|
||||
int uart_read(uint8_t *buffer, size_t max_len, k_timeout_t timeout);
|
||||
#endif /* _UART_H_ */
|
||||
Reference in New Issue
Block a user