Struct esp32_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..0x80 - 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..0x80 - 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..0x280 - 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..0x280 - 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..0x480 - 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..0x480 - 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..0x680 - 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..0x680 - Represents X
sourcepub fn m_prime(&self) -> &Reg<M_PRIME_SPEC>
pub fn m_prime(&self) -> &Reg<M_PRIME_SPEC>
0x800 -
sourcepub fn modexp_mode(&self) -> &Reg<MODEXP_MODE_SPEC>
pub fn modexp_mode(&self) -> &Reg<MODEXP_MODE_SPEC>
0x804 -
sourcepub fn modexp_start(&self) -> &Reg<MODEXP_START_SPEC>
pub fn modexp_start(&self) -> &Reg<MODEXP_START_SPEC>
0x808 -
sourcepub fn mult_mode(&self) -> &Reg<MULT_MODE_SPEC>
pub fn mult_mode(&self) -> &Reg<MULT_MODE_SPEC>
0x80c -
sourcepub fn mult_start(&self) -> &Reg<MULT_START_SPEC>
pub fn mult_start(&self) -> &Reg<MULT_START_SPEC>
0x810 -
sourcepub fn interrupt(&self) -> &Reg<INTERRUPT_SPEC>
pub fn interrupt(&self) -> &Reg<INTERRUPT_SPEC>
0x814 -
sourcepub fn clean(&self) -> &Reg<CLEAN_SPEC>
pub fn clean(&self) -> &Reg<CLEAN_SPEC>
0x818 -
Trait Implementations§
source§impl Peripheral for RSA
impl Peripheral for RSA
Auto Trait Implementations§
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