#[repr(C)]
pub struct RegisterBlock {
Show 24 fields pub ictr: Reg<ICTR_SPEC>, pub actlr: Reg<ACTLR_SPEC>, pub cpuid: Reg<CPUID_SPEC>, pub icsr: Reg<ICSR_SPEC>, pub vtor: Reg<VTOR_SPEC>, pub aircr: Reg<AIRCR_SPEC>, pub scr: Reg<SCR_SPEC>, pub ccr: Reg<CCR_SPEC>, pub shpr1: Reg<SHPR1_SPEC>, pub shpr2: Reg<SHPR2_SPEC>, pub shpr3: Reg<SHPR3_SPEC>, pub shcsr: Reg<SHCSR_SPEC>, pub cfsr: Reg<CFSR_SPEC>, pub hfsr: Reg<HFSR_SPEC>, pub dfsr: Reg<DFSR_SPEC>, pub mmfar: Reg<MMFAR_SPEC>, pub bfar: Reg<BFAR_SPEC>, pub afsr: Reg<AFSR_SPEC>, pub pfr: [Reg<PFR_SPEC>; 2], pub dfr: Reg<DFR_SPEC>, pub adr: Reg<ADR_SPEC>, pub mmfr: [Reg<MMFR_SPEC>; 4], pub isar: [Reg<ISAR_SPEC>; 5], pub cpacr: Reg<CPACR_SPEC>, /* private fields */
}
Expand description

Register block

Fields

ictr: Reg<ICTR_SPEC>

0x04 - Interrupt Controller Type Register

actlr: Reg<ACTLR_SPEC>

0x08 - Auxiliary Control Register

cpuid: Reg<CPUID_SPEC>

0xd00 - CPUID Base Register

icsr: Reg<ICSR_SPEC>

0xd04 - Interrupt Control and State Register

vtor: Reg<VTOR_SPEC>

0xd08 - Vector Table Offset Register

aircr: Reg<AIRCR_SPEC>

0xd0c - Application Interrupt and Reset Control Register

scr: Reg<SCR_SPEC>

0xd10 - System Control Register

ccr: Reg<CCR_SPEC>

0xd14 - Configuration and Control Register

shpr1: Reg<SHPR1_SPEC>

0xd18 - System Handler Priority Register 1

shpr2: Reg<SHPR2_SPEC>

0xd1c - System Handler Priority Register 2

shpr3: Reg<SHPR3_SPEC>

0xd20 - System Handler Priority Register 3

shcsr: Reg<SHCSR_SPEC>

0xd24 - System Handler Control and State Register

cfsr: Reg<CFSR_SPEC>

0xd28 - Configurable Fault Status Register

hfsr: Reg<HFSR_SPEC>

0xd2c - HardFault Status Register

dfsr: Reg<DFSR_SPEC>

0xd30 - Debug Fault Status Register

mmfar: Reg<MMFAR_SPEC>

0xd34 - MemManage Fault Address Register

bfar: Reg<BFAR_SPEC>

0xd38 - BusFault Address Register

afsr: Reg<AFSR_SPEC>

0xd3c - Auxiliary Fault Status Register

pfr: [Reg<PFR_SPEC>; 2]

0xd40..0xd48 - Processor Feature Register

dfr: Reg<DFR_SPEC>

0xd48 - Debug Feature Register

adr: Reg<ADR_SPEC>

0xd4c - Auxiliary Feature Register

mmfr: [Reg<MMFR_SPEC>; 4]

0xd50..0xd60 - Memory Model Feature Register

isar: [Reg<ISAR_SPEC>; 5]

0xd60..0xd74 - Instruction Set Attributes Register

cpacr: Reg<CPACR_SPEC>

0xd88 - Coprocessor Access Control Register

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.