Struct RegisterBlock

Source
#[repr(C)]
pub struct RegisterBlock {
Show 28 fields 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, pub keyr4: KEYR4, pub keyr5: KEYR5, pub keyr6: KEYR6, pub keyr7: KEYR7, pub susp0r: SUSP0R, pub susp1r: SUSP1R, pub susp2r: SUSP2R, pub susp3r: SUSP3R, pub susp4r: SUSP4R, pub susp5r: SUSP5R, pub susp6r: SUSP6R, pub susp7r: SUSP7R, pub hwcfr: HWCFR, pub verr: VERR, pub ipidr: IPIDR, pub sidr: SIDR,
}
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

§keyr4: KEYR4

0x30 - key register 4

§keyr5: KEYR5

0x34 - key register 5

§keyr6: KEYR6

0x38 - key register 6

§keyr7: KEYR7

0x3c - key register 7

§susp0r: SUSP0R

0x40 - AES suspend register 0

§susp1r: SUSP1R

0x44 - AES suspend register 1

§susp2r: SUSP2R

0x48 - AES suspend register 2

§susp3r: SUSP3R

0x4c - AES suspend register 3

§susp4r: SUSP4R

0x50 - AES suspend register 4

§susp5r: SUSP5R

0x54 - AES suspend register 5

§susp6r: SUSP6R

0x58 - AES suspend register 6

§susp7r: SUSP7R

0x5c - AES suspend register 7

§hwcfr: HWCFR

0x60 - AES hardware configuration register

§verr: VERR

0x64 - AES version register

§ipidr: IPIDR

0x68 - AES identification register

§sidr: SIDR

0x6c - AES size ID register

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.