Struct esp32c2_hal::interrupt::TrapFrame
#[repr(C)]pub struct TrapFrame {Show 35 fields
pub ra: usize,
pub t0: usize,
pub t1: usize,
pub t2: usize,
pub t3: usize,
pub t4: usize,
pub t5: usize,
pub t6: usize,
pub a0: usize,
pub a1: usize,
pub a2: usize,
pub a3: usize,
pub a4: usize,
pub a5: usize,
pub a6: usize,
pub a7: usize,
pub s0: usize,
pub s1: usize,
pub s2: usize,
pub s3: usize,
pub s4: usize,
pub s5: usize,
pub s6: usize,
pub s7: usize,
pub s8: usize,
pub s9: usize,
pub s10: usize,
pub s11: usize,
pub gp: usize,
pub tp: usize,
pub sp: usize,
pub pc: usize,
pub mstatus: usize,
pub mcause: usize,
pub mtval: usize,
}
Expand description
Registers saved in trap handler
Fields§
§ra: usize
§t0: usize
§t1: usize
§t2: usize
§t3: usize
§t4: usize
§t5: usize
§t6: usize
§a0: usize
§a1: usize
§a2: usize
§a3: usize
§a4: usize
§a5: usize
§a6: usize
§a7: usize
§s0: usize
§s1: usize
§s2: usize
§s3: usize
§s4: usize
§s5: usize
§s6: usize
§s7: usize
§s8: usize
§s9: usize
§s10: usize
§s11: usize
§gp: usize
§tp: usize
§sp: usize
§pc: usize
§mstatus: usize
§mcause: usize
§mtval: usize
Trait Implementations§
impl Copy for TrapFrame
Auto Trait Implementations§
impl RefUnwindSafe for TrapFrame
impl Send for TrapFrame
impl Sync for TrapFrame
impl Unpin for TrapFrame
impl UnwindSafe for TrapFrame
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more