Today I would like to use my previous Clean project template to do something,,,,,,, when adding a pin break, suddenly want to know if the interrupt priority you configured is correctly executed,,,,,
It was possible to test it when I was just learning 32, but today I found a big problem,,,,,,,,,
We all know that 32 has preemptive priority and responsive priority,,, common sense,,,,,,
If the preemption priority of the two is not the same, who has the highest level of priority to perform who,,,, level high can interrupt the level of low
If the preemption priority of two is the same, who comes first to finish who first, and if it comes at the same time, it depends on who has the response priority higher than the first to execute who,,,,,,
That's just a common sense,,,,,,,,,,,,,, used to be a common sense,,,,,, to do the procedure,,, but today we found a,,,,,, special.
Today I experimented with PB0 and PB2---
The first kind of,,,,,,
I'm going to take PB0 and PB2 short, and connect it with a line, and switch the line between low and high levels.
11111111111 Note that, in pull-down mode, the falling edge is triggered , the preemption priority is the same, and the response priority is not the same, who has the response priority to perform who,,,,,,,, meet the regular
Then, change it.
Because, because
22222222222222 Description, in pull-up mode, rising edge trigger , preemption priority is the same, the response priority is not the same ,,,,,,,,,triggering is not in accordance with the general
And then I'll change it.
3333333333333 description, in pull-up mode, the rising edge triggers , the preemption priority is not the same, the response priority is not the same,,, who's preemption priority is first executed who,,,,,,, meet the general
And then I'll change it.
444444444444444 Note that, in pull-down mode, the falling edge is triggered , the preemption priority is not the same, the response priority is not the same,,, who's preemption priority is performed first who,,,,,,, meet the general
I'll change it again.
5555555555555555 Description, drop-down mode, drop Edge trigger , preemption priority Same, response priority is not the same,,, who's responsive priority is performed first who,,,,,,, meet the general
I'll change.
6666666666666666666 Note that, in the drop-down mode, the rising edge is triggered, the preemption priority is the same, and the response priority is not the same,,,,,,,, execution does not conform to the regular
I'm going to change the preemption priority.
And then swap the trigger mode.
Note that, in the pull-down mode, the falling edge is triggered, the preemption priority is the same, and the response priority is not the same, and the response priority is higher for those who,,,,,,,, meet the regular
Note that, in pull-up mode, the rising edge is triggered, the preemption priority is the same, the response priority is not the same,,,,,,,,,, the trigger does not conform to the normal
Note that, in the pull-up mode, the rising edge is triggered, the preemption priority is not the same, and the response priority is not the same,,, who's preemption priority is performed first who,,,,,,, meet the general
Note that, in the pull-down mode, the falling edge is triggered, the preemption priority is not the same, and the response priority is not the same,,, who's preemption priority is first performed who,,,,,,, meet the general
Description, drop-down mode, drop edge trigger, preemption priority same, response priority is not the same,,, who has a responsive priority to perform who,,,,,,, meet the general
Note that, in the drop-down mode, the rising edge is triggered, the preemption priority is the same, and the response priority is not the same,,,,,,,, execution does not conform to the regular
Note that, in the dropdown mode, the rising edge is triggered, the preemption priority is not the same, and the response priority is not the same,,, who's preemption priority is first performed who,,,,,,, meet the general
Description, drop-down mode, drop edge trigger, preemption priority is not the same, the response priority is not the same,,, who preemption priority is first executed who,,,,,,, meet the general
I don't know if the parents have encountered such a problem,,,,,,,, this is my program
Link: http://pan.baidu.com/s/1pLzxnN9 Password: mbbl
The above two does not conform to the general do not know what the reason,,, now is to pay attention to the amount,,,,,,,,
The drop,,,, drop is also falling,,,,,,,,,,,,,,,,,,,,,,,,,,,
Problems with external pin interrupts for STM32