#[repr(C)]
pub struct RegisterBlock {
Show 16 fields pub cr: CR, pub mr: MR, pub ier: IER, pub idr: IDR, pub imr: IMR, pub isr: ISR, pub keywr: [KEYWR; 8], pub idatar: [IDATAR; 4], pub odatar: [ODATAR; 4], pub ivr: [IVR; 4], pub aadlenr: AADLENR, pub clenr: CLENR, pub ghashr: [GHASHR; 4], pub tagr: [TAGR; 4], pub ctrr: CTRR, pub gcmhr: [GCMHR; 4], /* private fields */
}
Expand description

Register block

Fields

cr: CR

0x00 - Control Register

mr: MR

0x04 - Mode Register

ier: IER

0x10 - Interrupt Enable Register

idr: IDR

0x14 - Interrupt Disable Register

imr: IMR

0x18 - Interrupt Mask Register

isr: ISR

0x1c - Interrupt Status Register

keywr: [KEYWR; 8]

0x20..0x40 - Key Word Register

idatar: [IDATAR; 4]

0x40..0x50 - Input Data Register

odatar: [ODATAR; 4]

0x50..0x60 - Output Data Register

ivr: [IVR; 4]

0x60..0x70 - Initialization Vector Register

aadlenr: AADLENR

0x70 - Additional Authenticated Data Length Register

clenr: CLENR

0x74 - Plaintext/Ciphertext Length Register

ghashr: [GHASHR; 4]

0x78..0x88 - GCM Intermediate Hash Word Register

tagr: [TAGR; 4]

0x88..0x98 - GCM Authentication Tag Word Register

ctrr: CTRR

0x98 - GCM Encryption Counter Value Register

gcmhr: [GCMHR; 4]

0x9c..0xac - GCM H Word 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.