2025-08-11 20:59:22 +08:00

17 lines
254 B
C

#ifndef UART_H
#define UART_H
#include "gd32e23x.h"
#define RX_BUFFER_SIZE 32
typedef enum {
UART_PRINTF_USART0 = 0,
UART_PRINTF_USART1 = 1,
UART_PRINTF_BOTH = 2
} uart_printf_port_t;
void rs485_init(void);
#endif // UART_H