Struct atsame51n::system_control::RegisterBlock

source ·
#[repr(C)]
pub struct RegisterBlock {
Show 24 fields pub ictr: ICTR, pub actlr: ACTLR, pub cpuid: CPUID, pub icsr: ICSR, pub vtor: VTOR, pub aircr: AIRCR, pub scr: SCR, pub ccr: CCR, pub shpr1: SHPR1, pub shpr2: SHPR2, pub shpr3: SHPR3, pub shcsr: SHCSR, pub cfsr: CFSR, pub hfsr: HFSR, pub dfsr: DFSR, pub mmfar: MMFAR, pub bfar: BFAR, pub afsr: AFSR, pub pfr: [PFR; 2], pub dfr: DFR, pub adr: ADR, pub mmfr: [MMFR; 4], pub isar: [ISAR; 5], pub cpacr: CPACR, /* private fields */
}
Expand description

Register block

Fields§

§ictr: ICTR

0x04 - Interrupt Controller Type Register

§actlr: ACTLR

0x08 - Auxiliary Control Register

§cpuid: CPUID

0xd00 - CPUID Base Register

§icsr: ICSR

0xd04 - Interrupt Control and State Register

§vtor: VTOR

0xd08 - Vector Table Offset Register

§aircr: AIRCR

0xd0c - Application Interrupt and Reset Control Register

§scr: SCR

0xd10 - System Control Register

§ccr: CCR

0xd14 - Configuration and Control Register

§shpr1: SHPR1

0xd18 - System Handler Priority Register 1

§shpr2: SHPR2

0xd1c - System Handler Priority Register 2

§shpr3: SHPR3

0xd20 - System Handler Priority Register 3

§shcsr: SHCSR

0xd24 - System Handler Control and State Register

§cfsr: CFSR

0xd28 - Configurable Fault Status Register

§hfsr: HFSR

0xd2c - HardFault Status Register

§dfsr: DFSR

0xd30 - Debug Fault Status Register

§mmfar: MMFAR

0xd34 - MemManage Fault Address Register

§bfar: BFAR

0xd38 - BusFault Address Register

§afsr: AFSR

0xd3c - Auxiliary Fault Status Register

§pfr: [PFR; 2]

0xd40..0xd48 - Processor Feature Register

§dfr: DFR

0xd48 - Debug Feature Register

§adr: ADR

0xd4c - Auxiliary Feature Register

§mmfr: [MMFR; 4]

0xd50..0xd60 - Memory Model Feature Register

§isar: [ISAR; 5]

0xd60..0xd74 - Instruction Set Attributes Register

§cpacr: CPACR

0xd88 - Coprocessor Access 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>,

§

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

§

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.