AnsweredAssumed Answered

Problem:Immediate call to ISR

Question asked by shrestha.durgesh on Aug 8, 2012
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.

Outcomes