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 ?
No hardware for this, thus no macro.
You can of course always read the current state of the pin from GPIO_IDR.
Retrieving data ...