Struct ctru_sys::CpuRegisters
source · #[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 copy 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