cancel
Showing results for 
Search instead for 
Did you mean: 

Problem:Immediate call to ISR

durgesh777
Associate II
Posted on August 08, 2012 at 16:31

I have used external interrupt 0, 8 and 9. Before enabling the interrupt i have written the following codes:

EXTI_ClearITPendingBit(EXTI_Line8);

EXTI_ClearITPendingBit(EXTI_Line9);

The interrupt is only called by toggle switch. For the first time when i run the program, the interrupt service routine is called instantly once.

Apart from that everything works well but i could not debug why the interrupt is called immediately once when the program runs.

The input are PC8 and PC9 and they are configured as 'floating input mode'

I would be happy if someone could help me on this.

#interrupt-immediately-called
0 REPLIES 0