Struct cortex_m_rt::ExceptionFrame [−][src]
#[repr(C)]pub struct ExceptionFrame { /* fields omitted */ }
Expand description
Registers stacked (pushed onto the stack) during an exception.
Implementations
Sets the stacked value of (general purpose) register 0.
Safety
This affects the r0
register of the preempted code, which must not rely on it getting
restored to its previous value.
Sets the stacked value of (general purpose) register 1.
Safety
This affects the r1
register of the preempted code, which must not rely on it getting
restored to its previous value.
Sets the stacked value of (general purpose) register 2.
Safety
This affects the r2
register of the preempted code, which must not rely on it getting
restored to its previous value.
Sets the stacked value of (general purpose) register 3.
Safety
This affects the r3
register of the preempted code, which must not rely on it getting
restored to its previous value.
Sets the stacked value of (general purpose) register 12.
Safety
This affects the r12
register of the preempted code, which must not rely on it getting
restored to its previous value.
Sets the stacked value of the Link Register.
Safety
This affects the lr
register of the preempted code, which must not rely on it getting
restored to its previous value.
Sets the stacked value of the Program Counter.
Safety
This affects the pc
register of the preempted code, which must not rely on it getting
restored to its previous value.