What is the primary purpose of the System Control Block (SCB) in ARM Cortex-M processors?
Think about which component handles system-level exceptions and status.
The SCB is responsible for managing system exceptions like faults and interrupts, and it provides control and status registers related to system behavior.
Which SCB register is used to indicate the cause of the last system reset?
Look for the register that controls reset and interrupt behavior.
The AIRCR register contains bits that indicate the cause of the last reset, such as power-on reset or software reset.
Given that a UsageFault has occurred, which SCB register would you check to find detailed fault status information?
Consider the register that combines multiple fault status bits.
The CFSR register contains status bits for UsageFault, BusFault, and MemManage faults, providing detailed fault information.
Which SCB register is primarily used to trigger a system reset via software?
Think about which register allows software to request a reset.
The AIRCR register includes a bit that software can set to trigger a system reset.
When the processor enters a low-power sleep mode, which SCB register and bit control whether the processor wakes up on pending interrupts?
Consider the bit that controls behavior after returning from an interrupt.
The SLEEPONEXIT bit in the SCR register controls whether the processor returns to sleep after servicing an interrupt, affecting wake-up behavior.
