Question: AVR Studios with ATmega328p a. Your program has two interrupts enabled in addition to reset: external interrupt request 0 (INT0), and timer/counter 1 overflow interrupt
AVR Studios with ATmega328p
a. Your program has two interrupts enabled in addition to reset: external interrupt request 0 (INT0), and timer/counter 1 overflow interrupt (TIMER 1 OVF). While the program is in the ISR for INT0, the INT0 flag is set. What will happen? Explain. b. If both interrupt flags set at the same time, what program address (the actual number) will be loaded? (see ATmega328P IVT) c. What should be the last instruction in the ISR?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
