RegisterBlock

Struct RegisterBlock 

#[repr(C)]
pub struct RegisterBlock {
Show 25 fields _reserved0: [u8; 8], actlr: Actlr, _reserved1: [u8; 3316], cpuid: Cpuid, icsr: Icsr, vtor: Vtor, aircr: Aircr, scr: Scr, ccr: Ccr, shpr1: Shpr1, shpr2: Shpr2, shpr3: Shpr3, shcsr: Shcsr, cfsr: Cfsr, hfsr: Hfsr, dfsr: Dfsr, mmfar: Mmfar, bfar: Bfar, afsr: Afsr, _reserved17: [u8; 72], cpacr: Cpacr, _reserved18: [u8; 424], fpccr: Fpccr, fpcar: Fpcar, fpdscr: Fpdscr,
}
Expand description

Register block

Fields§

§_reserved0: [u8; 8]§actlr: Actlr§_reserved1: [u8; 3316]§cpuid: Cpuid§icsr: Icsr§vtor: Vtor§aircr: Aircr§scr: Scr§ccr: Ccr§shpr1: Shpr1§shpr2: Shpr2§shpr3: Shpr3§shcsr: Shcsr§cfsr: Cfsr§hfsr: Hfsr§dfsr: Dfsr§mmfar: Mmfar§bfar: Bfar§afsr: Afsr§_reserved17: [u8; 72]§cpacr: Cpacr§_reserved18: [u8; 424]§fpccr: Fpccr§fpcar: Fpcar§fpdscr: Fpdscr

Implementations§

§

impl RegisterBlock

pub const fn actlr(&self) -> &Actlr

0x08 - Auxiliary Control Register,

pub const fn cpuid(&self) -> &Cpuid

0xd00 - CPUID Base Register

pub const fn icsr(&self) -> &Icsr

0xd04 - Interrupt Control and State Register

pub const fn vtor(&self) -> &Vtor

0xd08 - Vector Table Offset Register

pub const fn aircr(&self) -> &Aircr

0xd0c - Application Interrupt and Reset Control Register

pub const fn scr(&self) -> &Scr

0xd10 - System Control Register

pub const fn ccr(&self) -> &Ccr

0xd14 - Configuration and Control Register

pub const fn shpr1(&self) -> &Shpr1

0xd18 - System Handler Priority Register 1

pub const fn shpr2(&self) -> &Shpr2

0xd1c - System Handler Priority Register 2

pub const fn shpr3(&self) -> &Shpr3

0xd20 - System Handler Priority Register 3

pub const fn shcsr(&self) -> &Shcsr

0xd24 - System Handler Control and State Register

pub const fn cfsr(&self) -> &Cfsr

0xd28 - Configurable Fault Status Registers

pub const fn hfsr(&self) -> &Hfsr

0xd2c - HardFault Status register

pub const fn dfsr(&self) -> &Dfsr

0xd30 - Debug Fault Status Register

pub const fn mmfar(&self) -> &Mmfar

0xd34 - MemManage Address Register

pub const fn bfar(&self) -> &Bfar

0xd38 - BusFault Address Register

pub const fn afsr(&self) -> &Afsr

0xd3c - Auxiliary Fault Status Register

pub const fn cpacr(&self) -> &Cpacr

0xd88 - Coprocessor Access Control Register

pub const fn fpccr(&self) -> &Fpccr

0xf34 - Floating-point Context Control Register

pub const fn fpcar(&self) -> &Fpcar

0xf38 - Floating-point Context Address Register

pub const fn fpdscr(&self) -> &Fpdscr

0xf3c - Floating-point Default Status Control Register

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>,

Source§

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>,

Source§

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.