What is the main purpose of an Interrupt Service Routine(ISR)?
To execute a specialized function immediately when a interrupt flag is set, pausing the main program flow
What command must be executed to enable all configured interrupts globally?
sei()-set enable interrupt
Which type of external interrupt is reserved for only 2 pins but offers more versatile triggering options?
The dedicated external interrupts(INT0 and INT1)
Which type of external interrupt allows you to treat nearly every I/O pin as an interrupt source, although only detecting a change of state?
Pin-Change Interrupts(PCINT)
Why must a variable shared between the ISR and main() be replaced as volatile?
To tell the compiler that the variables value can change unexpectedly(outside of the normal program flow), preventing incorrect operation