STM32 UART经常使用的3种中断接收

#include "sys.h" #include "usart.h"   #include "main.h" //若是使用ucos,则包括下面的头文件便可. #if SYSTEM_SUPPORT_OS #include "includes.h" //ucos 使用   #endif //注意,读取USARTx->SR能避免莫名其妙的错误   u8 USART1_RX_BUF[USART_RX_L
相关文章
相关标签/搜索