#[repr(C)]pub struct SCB_Type {
pub CPUID: u32,
pub ICSR: u32,
pub VTOR: u32,
pub AIRCR: u32,
pub SCR: u32,
pub CCR: u32,
pub RESERVED1: u32,
pub SHP: [u32; 2],
pub SHCSR: u32,
}
Expand description
\brief Structure type to access the System Control Block (SCB).
Fields§
§CPUID: u32
< Offset: 0x000 (R/ ) CPUID Base Register
ICSR: u32
< Offset: 0x004 (R/W) Interrupt Control and State Register
VTOR: u32
< Offset: 0x008 (R/W) Vector Table Offset Register
AIRCR: u32
< Offset: 0x00C (R/W) Application Interrupt and Reset Control Register
SCR: u32
< Offset: 0x010 (R/W) System Control Register
CCR: u32
< Offset: 0x014 (R/W) Configuration Control Register
RESERVED1: u32
§SHP: [u32; 2]
< Offset: 0x01C (R/W) System Handlers Priority Registers. [0] is RESERVED
SHCSR: u32
< Offset: 0x024 (R/W) System Handler Control and State Register
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SCB_Type
impl RefUnwindSafe for SCB_Type
impl Send for SCB_Type
impl Sync for SCB_Type
impl Unpin for SCB_Type
impl UnwindSafe for SCB_Type
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