I met a problem.
I used STM32F103. One EXTI line was used to check a button push-and-release. EXTI line was set to be triggered by both falling and raising edge.
I know there will be burr when I pushed the bottom. The question is , when I pushed and then released button, the count of interrupts are some times odd and some times even. As to my understanding, it should be even number since anyway, you will return to your original signal value(lets say HIGH). For example, if you have 2 burr in a push-release, you should have 4 times interrupts(HIGH(origin)->LOW->HIGH->LOW->HIGH). I could not understand why.
Thanks for your help!