Description: Programming for multiple serial ports of STM32 series, all of them are transmitted by DMA transmission instead of query mode, which overcomes the phenomenon of losing frames caused by high priority interruption. The use of the program is very convenient, only in the file head change define can be flexible switching of the serial port, the realization of the specific serial port function can be processed in the receiving function as long as it does not need more attention to specific interrupts and hardware. In the case column, we debug output serial port and realize serial transmission.
To Search:
File list (Check if you may need any files):
Filename | Size | Date |
---|
UART\usart.c | 38105 | 2018-04-10
|
UART\usart.h | 619 | 2018-04-10
|
UART | 0 | 2018-04-10 |