External Interrupt in STM32F103C8T6
I am using STM32F103C8T6(Blue Pill) with STM32IDE.
> I am trying to learn external Interrupt. So as a reference i am using 3 main thing.
# Reference Manual
# DataSheat
# Cortex™-M3 Devices Generic User Guide
> I wrote a code for this. I made changes into registers.
Here is my Github link.
> When i am trying to set NVIC_ISER0 Register it set my desired bit but NVIC_ICER0 Register also set same bit. Which is Strange for me and I don't Know why is it happening ?
# If NVIC_ISER0 bit set means Interrupt at that IRQ is Enable.
# if NVIC_ICER0 bit set means Interrupt at that IRQ is Disable.
> When I am giving Interrupt Then the Pending bit of EXTI->PR register and I also saw that NVIC_ISPR0 Bit(1<<IRQ) also set when i give interrupt. But Still I am not getting any call for my ISR.
> At last my ISR is not called and Control goes to unknown location.
