Question
How to know if interrupt was triggered by Falling or Rising edge?
Posted on May 02, 2012 at 02:51Hi,If while configuring the EXTI line I use:EXTI_InitStructure.EXTI_Trigger = EXTI_Trigger_Rising_Fallinghow can I know in my interrupt if a rising of falling triggered it?void EXTI1_IRQHandler(void){
if ( RisingEdge )
{...} else if ( FallingEdge ) { .... }}How can I do anything similar to this?Thank you for your time