Files
TencentOS-tiny/board/LILYGO_TTGO_T_Display_GD32V/BSP/Inc/usart.h
2020-05-18 02:34:31 +08:00

11 lines
200 B
C

#ifndef __USART_H
#define __USART_H
#define USART0_GPIO_TX_PIN GPIO_PIN_9
#define USART0_GPIO_RX_PIN GPIO_PIN_10
#define USART0_GPIO_PORT GPIOA
void usart0_init(int baud);
#endif // __USART_H