#[repr(C)]
pub struct RegisterBlock { pub cr: Reg<CR_SPEC>, pub sr: Reg<SR_SPEC>, pub dinr: Reg<DINR_SPEC>, pub doutr: Reg<DOUTR_SPEC>, pub keyr0: Reg<KEYR0_SPEC>, pub keyr1: Reg<KEYR1_SPEC>, pub keyr2: Reg<KEYR2_SPEC>, pub keyr3: Reg<KEYR3_SPEC>, pub ivr0: Reg<IVR0_SPEC>, pub ivr1: Reg<IVR1_SPEC>, pub ivr2: Reg<IVR2_SPEC>, pub ivr3: Reg<IVR3_SPEC>, }
Expand description

Register block

Fields

cr: Reg<CR_SPEC>

0x00 - control register

sr: Reg<SR_SPEC>

0x04 - status register

dinr: Reg<DINR_SPEC>

0x08 - data input register

doutr: Reg<DOUTR_SPEC>

0x0c - data output register

keyr0: Reg<KEYR0_SPEC>

0x10 - key register 0

keyr1: Reg<KEYR1_SPEC>

0x14 - key register 1

keyr2: Reg<KEYR2_SPEC>

0x18 - key register 2

keyr3: Reg<KEYR3_SPEC>

0x1c - key register 3

ivr0: Reg<IVR0_SPEC>

0x20 - initialization vector register 0

ivr1: Reg<IVR1_SPEC>

0x24 - initialization vector register 1

ivr2: Reg<IVR2_SPEC>

0x28 - initialization vector register 2

ivr3: Reg<IVR3_SPEC>

0x2c - initialization vector register 3

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.