STM32 CubeMX 实现 DMA 串口空闲中断

STM32 CubeMX 实现 DMA 串口空闲中断 一 前言 二 参考资料 三 实现过程 cubeMX 配置 在 usart.h 中添加web #define U1_RXBUF_SIZE 1024 typedef struct{ u8 buffer[U1_RXBUF_SIZE]; u16 receivedLen; //@ 接收完成的数据长度 u8 recevicedFlag; //@ 接收
相关文章
相关标签/搜索