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).