#[repr(C)]
pub struct TrapFrame {
Show 54 fields pub PC: u32, pub PS: u32, pub A0: u32, pub A1: u32, pub A2: u32, pub A3: u32, pub A4: u32, pub A5: u32, pub A6: u32, pub A7: u32, pub A8: u32, pub A9: u32, pub A10: u32, pub A11: u32, pub A12: u32, pub A13: u32, pub A14: u32, pub A15: u32, pub SAR: u32, pub EXCCAUSE: u32, pub EXCVADDR: u32, pub LBEG: u32, pub LEND: u32, pub LCOUNT: u32, pub THREADPTR: u32, pub SCOMPARE1: u32, pub BR: u32, pub ACCLO: u32, pub ACCHI: u32, pub M0: u32, pub M1: u32, pub M2: u32, pub M3: u32, pub F64R_LO: u32, pub F64R_HI: u32, pub F64S: u32, pub FCR: u32, pub FSR: u32, pub F0: u32, pub F1: u32, pub F2: u32, pub F3: u32, pub F4: u32, pub F5: u32, pub F6: u32, pub F7: u32, pub F8: u32, pub F9: u32, pub F10: u32, pub F11: u32, pub F12: u32, pub F13: u32, pub F14: u32, pub F15: u32,
}
Expand description

State of the CPU saved when entering exception or interrupt

Must be aligned with assembly frame format in assembly_esp32

Fields§

§PC: u32§PS: u32§A0: u32§A1: u32§A2: u32§A3: u32§A4: u32§A5: u32§A6: u32§A7: u32§A8: u32§A9: u32§A10: u32§A11: u32§A12: u32§A13: u32§A14: u32§A15: u32§SAR: u32§EXCCAUSE: u32§EXCVADDR: u32§LBEG: u32§LEND: u32§LCOUNT: u32§THREADPTR: u32§SCOMPARE1: u32§BR: u32§ACCLO: u32§ACCHI: u32§M0: u32§M1: u32§M2: u32§M3: u32§F64R_LO: u32§F64R_HI: u32§F64S: u32§FCR: u32§FSR: u32§F0: u32§F1: u32§F2: u32§F3: u32§F4: u32§F5: u32§F6: u32§F7: u32§F8: u32§F9: u32§F10: u32§F11: u32§F12: u32§F13: u32§F14: u32§F15: u32

Trait Implementations§

source§

impl Clone for Context

source§

fn clone(&self) -> Context

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Context

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Copy for Context

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.