...
When is an interrupt masked?
An interrupt is masked when it has been disabled using designated mask bits for the interrupt.
When is masking used?
Masking is used when executing high priority timing sensitive code that would be disrupted by an interrupt.
What is a Non-Maskable Interrupt (NMI)?
An NMI is an interrupt generated by critical system processes.
What does a Non-Maskable Interrupt (NMI) indicate?
An NMI indicates a critical error has occurred and the system is about to crash.Are exceptions considered Non-Maskable Interrupts (NMIs)?
Yes, exceptions are considered NMIs.
What is the sequence of events for handling an interrupt?
The sequence of events for handling an interrupt is:
main()
.r0-r3
, r12
, lr
, pc
, and psr
are pushed onto the stack.SysTick_Handler
routine.What does each interrupt have?
Each interrupt has an associated ISR.
What is the interrupt vector table?
The interrupt vector table is a special area of memory that contains the memory addresses (pointers) of each ISR.
...