[][src]Struct esp32::aes::RegisterBlock

#[repr(C)]pub struct RegisterBlock {
    pub start: START,
    pub idle: IDLE,
    pub mode: MODE,
    pub key_0: KEY_0,
    pub key_1: KEY_1,
    pub key_2: KEY_2,
    pub key_3: KEY_3,
    pub key_4: KEY_4,
    pub key_5: KEY_5,
    pub key_6: KEY_6,
    pub key_7: KEY_7,
    pub text_0: TEXT_0,
    pub text_1: TEXT_1,
    pub text_2: TEXT_2,
    pub text_3: TEXT_3,
    pub endian: ENDIAN,
    // some fields omitted
}

Register block

Fields

start: START

0x00 - AES Start

idle: IDLE

0x04 - AES Idle

mode: MODE

0x08 - AES Mode

key_0: KEY_0

0x10 - AES Key material 0

key_1: KEY_1

0x14 - AES Key material 1

key_2: KEY_2

0x18 - AES Key material 2

key_3: KEY_3

0x1c - AES Key material 3

key_4: KEY_4

0x20 - AES Key material 4

key_5: KEY_5

0x24 - AES Key material 5

key_6: KEY_6

0x28 - AES Key material 6

key_7: KEY_7

0x2c - AES Key material 7

text_0: TEXT_0

0x30 - Plaintext and ciphertext register 0

text_1: TEXT_1

0x34 - Plaintext and ciphertext register 1

text_2: TEXT_2

0x38 - Plaintext and ciphertext register 2

text_3: TEXT_3

0x3c - Plaintext and ciphertext register 3

endian: ENDIAN

0x40 - AES Endian selection

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.