MCQOPTIONS
Saved Bookmarks
This section includes 2 Mcqs, each offering curated multiple-choice questions to sharpen your Avr Microcontroller knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
What will happen in that condition, if an interrupt occurs while the microcontroller is serving any other interrupt? |
| A. | both the interrupts will be handled simultaneously |
| B. | the interrupt which is being done first will be served first |
| C. | the interrupt that is more priority in the interrupt vector table will be served first |
| D. | the interrupt having low priority in the interrupt vector table will be served first |
| Answer» D. the interrupt having low priority in the interrupt vector table will be served first | |
| 2. |
Why RETI instruction be the last instruction of ISR? |
| A. | because it returns with carry |
| B. | because it returns to the main program with all the flags of the SREG raised |
| C. | because it returns to the main program where interrupt is generated and set the global interrupt enable bit in SREG |
| D. | none of the mentioned |
| Answer» D. none of the mentioned | |