Struct esp32s3::rsa::RegisterBlock

source ·
#[repr(C)]
pub struct RegisterBlock {
Show 17 fields pub m_mem: [M_MEM; 512], pub z_mem: [Z_MEM; 512], pub y_mem: [Y_MEM; 512], pub x_mem: [X_MEM; 512], pub m_prime: M_PRIME, pub mode: MODE, pub clean: CLEAN, pub modexp_start: MODEXP_START, pub modmult_start: MODMULT_START, pub mult_start: MULT_START, pub idle: IDLE, pub clear_interrupt: CLEAR_INTERRUPT, pub constant_time: CONSTANT_TIME, pub search_enable: SEARCH_ENABLE, pub search_pos: SEARCH_POS, pub interrupt_ena: INTERRUPT_ENA, pub date: DATE,
}
Expand description

Register block

Fields§

§m_mem: [M_MEM; 512]

0x00..0x200 - Memory M

§z_mem: [Z_MEM; 512]

0x200..0x400 - Memory Z

§y_mem: [Y_MEM; 512]

0x400..0x600 - Memory Y

§x_mem: [X_MEM; 512]

0x600..0x800 - Memory X

§m_prime: M_PRIME

0x800 - RSA M’ register

§mode: MODE

0x804 - RSA length mode register

§clean: CLEAN

0x808 - RSA clean register

§modexp_start: MODEXP_START

0x80c - Modular exponentiation trigger register.

§modmult_start: MODMULT_START

0x810 - Modular multiplication trigger register.

§mult_start: MULT_START

0x814 - Normal multiplication trigger register.

§idle: IDLE

0x818 - RSA idle register

§clear_interrupt: CLEAR_INTERRUPT

0x81c - RSA interrupt clear register

§constant_time: CONSTANT_TIME

0x820 - CONSTANT_TIME option control register

§search_enable: SEARCH_ENABLE

0x824 - SEARCH option enable register

§search_pos: SEARCH_POS

0x828 - RSA search position configure register

§interrupt_ena: INTERRUPT_ENA

0x82c - RSA interrupt enable register

§date: DATE

0x830 - RSA version control register

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.