Home > other >  A serial port to send and receive information, please use the interrupt mode, program should be how
A serial port to send and receive information, please use the interrupt mode, program should be how

Time:09-16

Such as: a serial port to send and receive information, please use the interrupt mode, program should be how to write?
There is only one serial port interrupt entry, or receiving interrupt, or send interrupt, but to send and receive all use interrupt, how to write?

CodePudding user response:

Interrupt the inside can accept suspend for the suspension of judgment is sent

CodePudding user response:

If containing the DMA function using DMA efficiently

CodePudding user response:

https://blog.csdn.net/u014694105/article/details/105215091 STM32F4 serial port DMA receiving
https://blog.csdn.net/u014694105/article/details/105155611 STM32F4 serial port DMA cycle send
For reference

CodePudding user response:

Interrupt and circular FIFO, the most effective approach, is very flexible, DMA this stuff, is suitable for the receiving special stability,
  • Related