add usart(rs485)

This commit is contained in:
2024-12-30 22:59:49 +08:00
parent dbbeea4dc7
commit 88fc97d037
12 changed files with 97 additions and 69 deletions

View File

@@ -36,6 +36,9 @@ OF SUCH DAMAGE.
#define GD32E23X_IT_H
#include "gd32e23x.h"
#include "main.h"
#include "systick.h"
#include "board_config.h"
/* function declarations */
/* this function handles NMI exception */
@@ -49,4 +52,6 @@ void PendSV_Handler(void);
/* this function handles SysTick exception */
void SysTick_Handler(void);
void TIMER16_IRQHandler(void);
#endif /* GD32E23X_IT_H */