Resolved! Can anyone tell me how to configure external interrupts on stm32f103c8t6? is there anything wrong, my IRQHandler is not functioning properly...(actually, i wanted my LED(PA1) to glow when i interrupted it with push button(PB3) but it is not doing so...?
#include "stm32f10x.h"void EXTI3_IRQ_IRQHandler(void){ if(EXTI->PR & EXTI_PR_PR3) { EXTI->PR |= EXTI_PR_PR3; GPIOA-> BRR |= GPIO_BRR_BS1; }}int main(void){ RCC ->APB2ENR |= RCC_APB2ENR_IOPAEN; //LED(OUTPUT PIN)(PA1) GPIOA->CRL &= ~(GPIO_CRL_CNF1); ...