generated from hulk/gd32e23x_template_cmake_vscode
release dev branch
This commit is contained in:
10
Inc/uart.h
10
Inc/uart.h
@@ -3,14 +3,6 @@
|
||||
|
||||
#include "gd32e23x.h"
|
||||
|
||||
typedef enum {
|
||||
UART_PRINTF_USART0 = 0,
|
||||
UART_PRINTF_USART1 = 1,
|
||||
UART_PRINTF_BOTH = 2
|
||||
} uart_printf_port_t;
|
||||
|
||||
void uart0_init(uint32_t baudrate);
|
||||
void uart1_init(uint32_t baudrate);
|
||||
void uart_set_printf_port(uart_printf_port_t port);
|
||||
void rs485_init(void);
|
||||
|
||||
#endif // UART_H
|
||||
|
Reference in New Issue
Block a user