AnsweredAssumed Answered

how to use exti event mode?

Question asked by ctc.ctc on Nov 13, 2016
Latest reply on Nov 14, 2016 by FTITI.Walid
I'm using stm32f4discovery to study exti,
I can use exti interrupt mode to get button trigger,
but I have no idea what's the event mode,

I only know event mode will not triger interrupt,
so I do not declare NVIC function and use blow code to get event, but no work,
so how can I use exti event mode ?
if(EXTI_GetFlagStatus(EXTI_LineX) != RESET){
           if(EXTI_GetITStatus(EXTI_LineX) != RESET){
                EXTI_ClearFlag(EXTI_Line5);                                                                        
                do_something(xxxxxx);
     }
}

Outcomes