Struct esp32s3_hal::peripherals::RSA
source · pub struct RSA { /* private fields */ }
Implementations§
source§impl RSA
impl RSA
sourcepub unsafe fn steal() -> RSA
pub unsafe fn steal() -> RSA
Unsafely create an instance of this peripheral out of thin air.
§Safety
You must ensure that you’re only using one instance of this type at a time.
Methods from Deref<Target = RegisterBlock>§
sourcepub fn m_mem(&self, n: usize) -> &Reg<M_MEM_SPEC>
pub fn m_mem(&self, n: usize) -> &Reg<M_MEM_SPEC>
0x00..0x200 - Memory M
sourcepub fn m_mem_iter(&self) -> impl Iterator<Item = &Reg<M_MEM_SPEC>>
pub fn m_mem_iter(&self) -> impl Iterator<Item = &Reg<M_MEM_SPEC>>
Iterator for array of: 0x00..0x200 - Memory M
sourcepub fn z_mem(&self, n: usize) -> &Reg<Z_MEM_SPEC>
pub fn z_mem(&self, n: usize) -> &Reg<Z_MEM_SPEC>
0x200..0x400 - Memory Z
sourcepub fn z_mem_iter(&self) -> impl Iterator<Item = &Reg<Z_MEM_SPEC>>
pub fn z_mem_iter(&self) -> impl Iterator<Item = &Reg<Z_MEM_SPEC>>
Iterator for array of: 0x200..0x400 - Memory Z
sourcepub fn y_mem(&self, n: usize) -> &Reg<Y_MEM_SPEC>
pub fn y_mem(&self, n: usize) -> &Reg<Y_MEM_SPEC>
0x400..0x600 - Memory Y
sourcepub fn y_mem_iter(&self) -> impl Iterator<Item = &Reg<Y_MEM_SPEC>>
pub fn y_mem_iter(&self) -> impl Iterator<Item = &Reg<Y_MEM_SPEC>>
Iterator for array of: 0x400..0x600 - Memory Y
sourcepub fn x_mem(&self, n: usize) -> &Reg<X_MEM_SPEC>
pub fn x_mem(&self, n: usize) -> &Reg<X_MEM_SPEC>
0x600..0x800 - Memory X
sourcepub fn x_mem_iter(&self) -> impl Iterator<Item = &Reg<X_MEM_SPEC>>
pub fn x_mem_iter(&self) -> impl Iterator<Item = &Reg<X_MEM_SPEC>>
Iterator for array of: 0x600..0x800 - Memory X
sourcepub fn m_prime(&self) -> &Reg<M_PRIME_SPEC>
pub fn m_prime(&self) -> &Reg<M_PRIME_SPEC>
0x800 - RSA M’ register
sourcepub fn clean(&self) -> &Reg<CLEAN_SPEC>
pub fn clean(&self) -> &Reg<CLEAN_SPEC>
0x808 - RSA clean register
sourcepub fn modexp_start(&self) -> &Reg<MODEXP_START_SPEC>
pub fn modexp_start(&self) -> &Reg<MODEXP_START_SPEC>
0x80c - Modular exponentiation trigger register.
sourcepub fn modmult_start(&self) -> &Reg<MODMULT_START_SPEC>
pub fn modmult_start(&self) -> &Reg<MODMULT_START_SPEC>
0x810 - Modular multiplication trigger register.
sourcepub fn mult_start(&self) -> &Reg<MULT_START_SPEC>
pub fn mult_start(&self) -> &Reg<MULT_START_SPEC>
0x814 - Normal multiplication trigger register.
sourcepub fn clear_interrupt(&self) -> &Reg<CLEAR_INTERRUPT_SPEC>
pub fn clear_interrupt(&self) -> &Reg<CLEAR_INTERRUPT_SPEC>
0x81c - RSA interrupt clear register
sourcepub fn constant_time(&self) -> &Reg<CONSTANT_TIME_SPEC>
pub fn constant_time(&self) -> &Reg<CONSTANT_TIME_SPEC>
0x820 - CONSTANT_TIME option control register
sourcepub fn search_enable(&self) -> &Reg<SEARCH_ENABLE_SPEC>
pub fn search_enable(&self) -> &Reg<SEARCH_ENABLE_SPEC>
0x824 - SEARCH option enable register
sourcepub fn search_pos(&self) -> &Reg<SEARCH_POS_SPEC>
pub fn search_pos(&self) -> &Reg<SEARCH_POS_SPEC>
0x828 - RSA search position configure register
sourcepub fn interrupt_ena(&self) -> &Reg<INTERRUPT_ENA_SPEC>
pub fn interrupt_ena(&self) -> &Reg<INTERRUPT_ENA_SPEC>
0x82c - RSA interrupt enable register