#[repr(C)]
pub struct RegisterBlock { pub cr: CR, pub sr: SR, pub dinr: DINR, pub doutr: DOUTR, pub keyr0: KEYR0, pub keyr1: KEYR1, pub keyr2: KEYR2, pub keyr3: KEYR3, pub ivr0: IVR0, pub ivr1: IVR1, pub ivr2: IVR2, pub ivr3: IVR3, }
Expand description

Register block

Fields§

§cr: CR

0x00 - control register

§sr: SR

0x04 - status register

§dinr: DINR

0x08 - data input register

§doutr: DOUTR

0x0c - data output register

§keyr0: KEYR0

0x10 - key register 0

§keyr1: KEYR1

0x14 - key register 1

§keyr2: KEYR2

0x18 - key register 2

§keyr3: KEYR3

0x1c - key register 3

§ivr0: IVR0

0x20 - initialization vector register 0

§ivr1: IVR1

0x24 - initialization vector register 1

§ivr2: IVR2

0x28 - initialization vector register 2

§ivr3: IVR3

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.

Should always be Self
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.