Struct esp32s2::rsa::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock { /* private fields */ }
Expand description
Register block
Implementations§
source§impl RegisterBlock
impl RegisterBlock
sourcepub fn m_mem_iter(&self) -> impl Iterator<Item = &M_MEM>
pub fn m_mem_iter(&self) -> impl Iterator<Item = &M_MEM>
Iterator for array of: 0x00..0x200 - Represents M
sourcepub fn z_mem_iter(&self) -> impl Iterator<Item = &Z_MEM>
pub fn z_mem_iter(&self) -> impl Iterator<Item = &Z_MEM>
Iterator for array of: 0x200..0x400 - Represents Z
sourcepub fn y_mem_iter(&self) -> impl Iterator<Item = &Y_MEM>
pub fn y_mem_iter(&self) -> impl Iterator<Item = &Y_MEM>
Iterator for array of: 0x400..0x600 - Represents Y
sourcepub fn x_mem_iter(&self) -> impl Iterator<Item = &X_MEM>
pub fn x_mem_iter(&self) -> impl Iterator<Item = &X_MEM>
Iterator for array of: 0x600..0x800 - Represents X
sourcepub const fn modexp_start(&self) -> &MODEXP_START
pub const fn modexp_start(&self) -> &MODEXP_START
0x80c - Modular exponentiation starting bit
sourcepub const fn modmult_start(&self) -> &MODMULT_START
pub const fn modmult_start(&self) -> &MODMULT_START
0x810 - Modular multiplication starting bit
sourcepub const fn mult_start(&self) -> &MULT_START
pub const fn mult_start(&self) -> &MULT_START
0x814 - Normal multiplication starting bit
sourcepub const fn clear_interrupt(&self) -> &CLEAR_INTERRUPT
pub const fn clear_interrupt(&self) -> &CLEAR_INTERRUPT
0x81c - RSA clear interrupt register
sourcepub const fn constant_time(&self) -> &CONSTANT_TIME
pub const fn constant_time(&self) -> &CONSTANT_TIME
0x820 - The constant_time option
sourcepub const fn search_enable(&self) -> &SEARCH_ENABLE
pub const fn search_enable(&self) -> &SEARCH_ENABLE
0x824 - The search option
sourcepub const fn search_pos(&self) -> &SEARCH_POS
pub const fn search_pos(&self) -> &SEARCH_POS
0x828 - The search position
sourcepub const fn interrupt_ena(&self) -> &INTERRUPT_ENA
pub const fn interrupt_ena(&self) -> &INTERRUPT_ENA
0x82c - RSA interrupt enable register
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
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