Struct esp32h2::ds::RegisterBlock

source ·
#[repr(C)]
pub struct RegisterBlock {
Show 14 fields pub y_mem: [Y_MEM; 512], pub m_mem: [M_MEM; 512], pub rb_mem: [RB_MEM; 512], pub box_mem: [BOX_MEM; 48], pub iv_mem: [IV_MEM; 16], pub x_mem: [X_MEM; 512], pub z_mem: [Z_MEM; 512], pub set_start: SET_START, pub set_continue: SET_CONTINUE, pub set_finish: SET_FINISH, pub query_busy: QUERY_BUSY, pub query_key_wrong: QUERY_KEY_WRONG, pub query_check: QUERY_CHECK, pub date: DATE, /* private fields */
}
Expand description

Register block

Fields§

§y_mem: [Y_MEM; 512]

0x00..0x200 - memory that stores Y

§m_mem: [M_MEM; 512]

0x200..0x400 - memory that stores M

§rb_mem: [RB_MEM; 512]

0x400..0x600 - memory that stores Rb

§box_mem: [BOX_MEM; 48]

0x600..0x630 - memory that stores BOX

§iv_mem: [IV_MEM; 16]

0x630..0x640 - memory that stores IV

§x_mem: [X_MEM; 512]

0x800..0xa00 - memory that stores X

§z_mem: [Z_MEM; 512]

0xa00..0xc00 - memory that stores Z

§set_start: SET_START

0xe00 - DS start control register

§set_continue: SET_CONTINUE

0xe04 - DS continue control register

§set_finish: SET_FINISH

0xe08 - DS finish control register

§query_busy: QUERY_BUSY

0xe0c - DS query busy register

§query_key_wrong: QUERY_KEY_WRONG

0xe10 - DS query key-wrong counter register

§query_check: QUERY_CHECK

0xe14 - DS query check result register

§date: DATE

0xe20 - DS version control register

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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 Twhere 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 Twhere U: Into<T>,

§

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 Twhere U: TryFrom<T>,

§

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.