更改为非自动换向SP3485接口芯片,更改代码预期适配

This commit is contained in:
2025-06-03 14:00:24 +08:00
parent 1f64a500f9
commit da00f1d758
4 changed files with 40 additions and 43 deletions

View File

@@ -51,7 +51,7 @@
#define USART_PHY USART0
#define USART_PHY_BAUDRATE 115200U
#define RS485_EN_PORT GPIOA
#define RS485_EN_PIN GPIO_PIN_4
#define RS485_EN_PIN GPIO_PIN_1
/******************************************************************************/

View File

@@ -8,8 +8,6 @@
#include "gd32e23x.h"
#include "board_config.h"
void usart_config(void);
void rs485_config(void);
#endif //USART_H