pub struct RSA { /* private fields */ }
Implementations§
Source§impl RSA
impl RSA
Sourcepub const PTR: *const <RSA as Deref>::Target = {0x6008a000 as *const <esp32h2::RSA as core::ops::Deref>::Target}
pub const PTR: *const <RSA as Deref>::Target = {0x6008a000 as *const <esp32h2::RSA as core::ops::Deref>::Target}
Pointer to the register block
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..0x180 - Represents 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..0x180 - Represents M
Sourcepub fn z_mem(&self, n: usize) -> &Reg<Z_MEM_SPEC>
pub fn z_mem(&self, n: usize) -> &Reg<Z_MEM_SPEC>
0x200..0x380 - Represents 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..0x380 - Represents Z
Sourcepub fn y_mem(&self, n: usize) -> &Reg<Y_MEM_SPEC>
pub fn y_mem(&self, n: usize) -> &Reg<Y_MEM_SPEC>
0x400..0x580 - Represents 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..0x580 - Represents Y
Sourcepub fn x_mem(&self, n: usize) -> &Reg<X_MEM_SPEC>
pub fn x_mem(&self, n: usize) -> &Reg<X_MEM_SPEC>
0x600..0x780 - Represents 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..0x780 - Represents X
Sourcepub fn m_prime(&self) -> &Reg<M_PRIME_SPEC>
pub fn m_prime(&self) -> &Reg<M_PRIME_SPEC>
0x800 - Represents M’
Sourcepub fn query_clean(&self) -> &Reg<QUERY_CLEAN_SPEC>
pub fn query_clean(&self) -> &Reg<QUERY_CLEAN_SPEC>
0x808 - RSA clean register
Sourcepub fn set_start_modexp(&self) -> &Reg<SET_START_MODEXP_SPEC>
pub fn set_start_modexp(&self) -> &Reg<SET_START_MODEXP_SPEC>
0x80c - Starts modular exponentiation
Sourcepub fn set_start_modmult(&self) -> &Reg<SET_START_MODMULT_SPEC>
pub fn set_start_modmult(&self) -> &Reg<SET_START_MODMULT_SPEC>
0x810 - Starts modular multiplication
Sourcepub fn set_start_mult(&self) -> &Reg<SET_START_MULT_SPEC>
pub fn set_start_mult(&self) -> &Reg<SET_START_MULT_SPEC>
0x814 - Starts multiplication
Sourcepub fn query_idle(&self) -> &Reg<QUERY_IDLE_SPEC>
pub fn query_idle(&self) -> &Reg<QUERY_IDLE_SPEC>
0x818 - Represents the RSA status
Sourcepub fn int_clr(&self) -> &Reg<INT_CLR_SPEC>
pub fn int_clr(&self) -> &Reg<INT_CLR_SPEC>
0x81c - Clears RSA interrupt
Sourcepub fn constant_time(&self) -> &Reg<CONSTANT_TIME_SPEC>
pub fn constant_time(&self) -> &Reg<CONSTANT_TIME_SPEC>
0x820 - Configures the constant_time option
Sourcepub fn search_enable(&self) -> &Reg<SEARCH_ENABLE_SPEC>
pub fn search_enable(&self) -> &Reg<SEARCH_ENABLE_SPEC>
0x824 - Configures the search option
Sourcepub fn search_pos(&self) -> &Reg<SEARCH_POS_SPEC>
pub fn search_pos(&self) -> &Reg<SEARCH_POS_SPEC>
0x828 - Configures the search position
Sourcepub fn int_ena(&self) -> &Reg<INT_ENA_SPEC>
pub fn int_ena(&self) -> &Reg<INT_ENA_SPEC>
0x82c - Enables the RSA interrupt
Trait Implementations§
Source§impl Peripheral for RSA
impl Peripheral for RSA
Auto Trait Implementations§
impl Freeze for RSA
impl RefUnwindSafe for RSA
impl Send for RSA
impl Sync for RSA
impl Unpin for RSA
impl UnwindSafe for RSA
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more