Maker Pro
Maker Pro

Microcontroller Interrupt Clarification

I wanted to know, if i setup a 1us timer interrupt in a microcontroller, and also reading the ADC interrupt or any other interrupt and if i exceed the 1us interrupt and the current code of execution is in ADC or other ISR, then it is not correct method of design or programming? Or based on if timer interrupt priority is higher compared to any other interrupt then, it will still come to timer interrupt execute and then continue in the ADC ISR?
or if ADC ISR is higher priority compared to timer interrupt, it will execute the complete ADC ISR and then jump to timer ISR? Which is the correct behavior? Please help.
 
Top