We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Im using irq0 to generate an interrupt. when i debug the code, the values for SMR and SVR register are correct (as i can see in the AIC window). But the ISR is never serviced. and the pending flag for this interrupt is raised. plz help
__irq void PIO_ISR (void) { a1++; //this is a global variable *AT91C_AIC_EOICR = 0; }
correction:
the the index of AIC_SMR and AIC_SVR is 30 (not 2).