Skip to main content

get_global_scb_registers

Function get_global_scb_registers 

Source
pub fn get_global_scb_registers() -> (u32, u32, u32, u32, u32)
Expand description

Get the stored System Control Block register values.

These are recorded during the fault, and then stored in the global SCB_REGISTERS array for use later during debugging.

We need to do this in assembly because we cannot have Rust access the global variable.