AnsweredAssumed Answered

External interrupt and input capture

Question asked by sak hos on Sep 6, 2017
Latest reply on Sep 6, 2017 by Vangelis Fortounas

Hello,
I'm using STM32F103c8t6 with CubeMX and in my application i'm using many Pins as External interrupt source and i have two questions:

1-An action must be done after pressing then releasing the button (rising edge then falling edgre) so for the first callback i should ckeck if there is a rising edge and for the second callback ihave to check if it's a falling egde, an action shoul be done. is that possible ?

2-In order to protect my application from parasites can i use input capture with all the pins in order to detect if the duration between the rising and the falling edge is to small, no action to be should happen, is that possible ?

Thank youn

Outcomes