Home > other >  F4 leisure interruption
F4 leisure interruption

Time:11-22

Allocation of 168 m, 407 after the interruption of free open free how long will trigger, trigger after how to remove logo? F4 manual inside didn't look at ah using cubomx generated program just contact the headache, unlike F1 of library functions are described in detail

CodePudding user response:

Leisure interruption, how long is not open after trigger interrupt, but after opening, receives the data, and have a free time frame is not received data, which is for high level, this is will produce free interrupt, general leisure interruption can succeed in DMA mode, refer to the below
https://blog.csdn.net/u014421520/article/details/81227606? Utm_source=blogxgwz0 & amp; Utm_medium=distribute. Pc_relevant_bbs_down. None - task - blog - baidujs - 2. Nonecase& Depth_1 - utm_source=distribute. Pc_relevant_bbs_down. None - task - blog - baidujs - 2. Nonecase

CodePudding user response:

Please refer to my blog: STM32 serial port receiving indefinite length bytes of data: https://blog.csdn.net/Brendon_Tan/article/details/89716628

Was introduced in detail in the use of idle interrupt method and query data, can consult my query for data book,

F4 and F1 idle interrupt the use method is, the original poster can go to the reference manual patch,

CodePudding user response:

refer to the second floor Brendon_Tan response:
please refer to my blog: STM32 serial port receiving indefinite length bytes of data: https://blog.csdn.net/Brendon_Tan/article/details/89716628

Was introduced in detail in the use of idle interrupt method and query data, can consult my query for data book,

F4 and F1 idle interrupt the use method is, the original poster can go to the reference manual patch,


Positive solution,

For example, your serial port 1 is ready to receive other devices to send data, you will open to receive interrupt beforehand, when data arrives, your SCM will trigger receiving interrupt, but are now facing a problem, how do you know what the other party to send out?
At this time, the leisure interruption will come in handy, if you enable the idle interrupt, when your MCU receives the characters within the prescribed period of time not to receive character, microcontroller will trigger the idle interrupt, trigger means free interrupt each other this frame message has been sent, you should deal with and analyze the frame message,
  • Related