Complete the code to identify the exception used for system tick timer interrupts.
void SysTick_Handler(void) {
// This function handles the [1] exception
}The SysTick exception is triggered by the system timer to generate periodic interrupts.
Complete the sentence to describe the purpose of the PendSV exception.
The PendSV exception is mainly used for [1] in ARM Cortex-M processors.
PendSV is designed to handle context switching in operating systems on ARM Cortex-M.
Fix the error in the description of SysTick and PendSV exceptions.
SysTick is used for [1] while PendSV is used for system tick timing.
SysTick is used for system tick timing, while PendSV is used for context switching.
Fill both blanks to complete the statement about exception priorities.
In ARM Cortex-M, the [1] exception usually has lower priority than the [2] exception.
PendSV is typically assigned a lower priority than SysTick to allow SysTick interrupts to preempt PendSV.
Fill all three blanks to complete the dictionary literal that maps exception names to their typical uses.
exception_uses = {
"SysTick": "[1]",
"PendSV": "[2]",
"HardFault": "[3]"
}SysTick is for system tick timer interrupts, PendSV for context switching, and HardFault for error handling.