#[repr(C)]
pub struct RegisterBlock { pub cfg: Reg<CFG_SPEC>, pub ctrl: Reg<CTRL_SPEC>, pub sr: Reg<SR_SPEC>, pub ier: Reg<IER_SPEC>, pub idr: Reg<IDR_SPEC>, pub imr: Reg<IMR_SPEC>, pub isr: Reg<ISR_SPEC>, pub uasr: Reg<UASR_SPEC>, pub dscr: Reg<DSCR_SPEC>, pub hash: Reg<HASH_SPEC>, pub uihval: [Reg<UIHVAL_SPEC>; 8], /* private fields */ }
Expand description

Register block

Fields

cfg: Reg<CFG_SPEC>

0x00 - Configuration

ctrl: Reg<CTRL_SPEC>

0x04 - Control

sr: Reg<SR_SPEC>

0x08 - Status

ier: Reg<IER_SPEC>

0x10 - Interrupt Enable

idr: Reg<IDR_SPEC>

0x14 - Interrupt Disable

imr: Reg<IMR_SPEC>

0x18 - Interrupt Mask

isr: Reg<ISR_SPEC>

0x1c - Interrupt Status

uasr: Reg<UASR_SPEC>

0x20 - Undefined Access Status

dscr: Reg<DSCR_SPEC>

0x30 - Region Descriptor Area Start Address

hash: Reg<HASH_SPEC>

0x34 - Region Hash Area Start Address

uihval: [Reg<UIHVAL_SPEC>; 8]

0x38..0x58 - User Initial Hash Value n

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.