Struct esp32c6_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>§
pub 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..0x180 - The memory that stores M
pub 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..0x380 - The memory that stores Z
pub 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..0x580 - The memory that stores Y
pub 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..0x780 - The memory that stores X
pub fn m_prime(&self) -> &Reg<M_PRIME_SPEC>
pub fn m_prime(&self) -> &Reg<M_PRIME_SPEC>
0x800 - RSA M_prime register
pub fn mode(&self) -> &Reg<MODE_SPEC>
pub fn mode(&self) -> &Reg<MODE_SPEC>
0x804 - RSA mode register
pub fn query_clean(&self) -> &Reg<QUERY_CLEAN_SPEC>
pub fn query_clean(&self) -> &Reg<QUERY_CLEAN_SPEC>
0x808 - RSA query clean register
pub fn set_start_modexp(&self) -> &Reg<SET_START_MODEXP_SPEC>
pub fn set_start_modexp(&self) -> &Reg<SET_START_MODEXP_SPEC>
0x80c - RSA modular exponentiation trigger register.
pub fn set_start_modmult(&self) -> &Reg<SET_START_MODMULT_SPEC>
pub fn set_start_modmult(&self) -> &Reg<SET_START_MODMULT_SPEC>
0x810 - RSA modular multiplication trigger register.
pub fn set_start_mult(&self) -> &Reg<SET_START_MULT_SPEC>
pub fn set_start_mult(&self) -> &Reg<SET_START_MULT_SPEC>
0x814 - RSA normal multiplication trigger register.
pub fn query_idle(&self) -> &Reg<QUERY_IDLE_SPEC>
pub fn query_idle(&self) -> &Reg<QUERY_IDLE_SPEC>
0x818 - RSA query idle register
pub fn int_clr(&self) -> &Reg<INT_CLR_SPEC>
pub fn int_clr(&self) -> &Reg<INT_CLR_SPEC>
0x81c - RSA interrupt clear register
pub fn constant_time(&self) -> &Reg<CONSTANT_TIME_SPEC>
pub fn constant_time(&self) -> &Reg<CONSTANT_TIME_SPEC>
0x820 - RSA constant time option register
pub fn search_enable(&self) -> &Reg<SEARCH_ENABLE_SPEC>
pub fn search_enable(&self) -> &Reg<SEARCH_ENABLE_SPEC>
0x824 - RSA search option
pub fn search_pos(&self) -> &Reg<SEARCH_POS_SPEC>
pub fn search_pos(&self) -> &Reg<SEARCH_POS_SPEC>
0x828 - RSA search position configure register
pub fn int_ena(&self) -> &Reg<INT_ENA_SPEC>
pub fn int_ena(&self) -> &Reg<INT_ENA_SPEC>
0x82c - RSA interrupt enable register
pub fn date(&self) -> &Reg<DATE_SPEC>
pub fn date(&self) -> &Reg<DATE_SPEC>
0x830 - RSA version control register