串口配置测试确认 uart1-6, 10 ok

Signed-off-by: a1012112796 <1012112796@qq.com>
This commit is contained in:
2022-12-17 10:17:33 +08:00
parent 3fd2f3ccce
commit 38f9c6c604
3 changed files with 81 additions and 30 deletions

View File

@@ -146,7 +146,7 @@ extern "C" {
#define UART5_DMA_TX_IRQHandler DMA1_Stream7_IRQHandler
#define UART5_TX_DMA_RCC RCC_AHB1ENR_DMA1EN
#define UART5_TX_DMA_INSTANCE DMA1_Stream7
#define UART5_TX_DMA_CHANNEL DMA_CHANNEL_4
#define UART5_TX_DMA_CHANNEL DMA_CHANNEL_8
#define UART5_TX_DMA_IRQ DMA1_Stream7_IRQn
#endif