#[repr(C)]pub struct CpuRegisters {
pub r: [u32_; 13],
pub sp: u32_,
pub lr: u32_,
pub pc: u32_,
pub cpsr: u32_,
}Expand description
Structure representing CPU registers
Fields§
§r: [u32_; 13]< r0-r12.
sp: u32_< sp.
lr: u32_< lr.
pc: u32_< pc. May need to be adjusted.
cpsr: u32_< cpsr.
Trait Implementations§
Source§impl Clone for CpuRegisters
impl Clone for CpuRegisters
Source§fn clone(&self) -> CpuRegisters
fn clone(&self) -> CpuRegisters
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CpuRegisters
impl Debug for CpuRegisters
Source§impl Default for CpuRegisters
impl Default for CpuRegisters
Source§fn default() -> CpuRegisters
fn default() -> CpuRegisters
Returns the “default value” for a type. Read more
impl Copy for CpuRegisters
Auto Trait Implementations§
impl Freeze for CpuRegisters
impl RefUnwindSafe for CpuRegisters
impl Send for CpuRegisters
impl Sync for CpuRegisters
impl Unpin for CpuRegisters
impl UnwindSafe for CpuRegisters
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)