This commit is contained in:
2025-01-20 14:45:52 +08:00
parent 39d800cb1b
commit a546f7bf83
6 changed files with 24 additions and 24 deletions

View File

@@ -41,12 +41,12 @@
/******************************************************************************/
#define USART_GPIO_RCU RCU_GPIOA
#define USART_RCU RCU_USART0
#define USART_RCU RCU_USART1
#define USART_GPIO_PORT GPIOA
#define USART_GPIO_AF GPIO_AF_1
#define USART_TX_PIN GPIO_PIN_2
#define USART_RX_PIN GPIO_PIN_3
#define USART_PHY USART0
#define USART_PHY USART1
#define USART_PHY_BAUDRATE 115200U
#define RS485_EN_PORT GPIOA
#define RS485_EN_PIN GPIO_PIN_4