2017-04-19 11:39 PM
Hi everyone,
I have setup a timer in an input capture mode on both edges(rising and falling) and just would like to know when the interrupt is triggered wether its a rising edge or a falling edge. any hal library macro to do this ?
many thanks
2017-04-20 12:11 AM
No hardware for this, thus no macro.
You can of course always read the current state of the pin from GPIO_IDR.
JW