Struct esp32h2::sha::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock { /* private fields */ }Expand description
Register block
Implementations§
source§impl RegisterBlock
impl RegisterBlock
sourcepub const fn dma_block_num(&self) -> &DMA_BLOCK_NUM
pub const fn dma_block_num(&self) -> &DMA_BLOCK_NUM
0x0c - DMA configuration register 0.
sourcepub const fn dma_continue(&self) -> &DMA_CONTINUE
pub const fn dma_continue(&self) -> &DMA_CONTINUE
0x20 - DMA configuration register 2.
sourcepub const fn h_mem(&self, n: usize) -> &H_MEM
pub const fn h_mem(&self, n: usize) -> &H_MEM
0x40..0x80 - Sha H memory which contains intermediate hash or finial hash.
sourcepub fn h_mem_iter(&self) -> impl Iterator<Item = &H_MEM>
pub fn h_mem_iter(&self) -> impl Iterator<Item = &H_MEM>
Iterator for array of: 0x40..0x80 - Sha H memory which contains intermediate hash or finial hash.
sourcepub const fn m_mem(&self, n: usize) -> &M_MEM
pub const fn m_mem(&self, n: usize) -> &M_MEM
0x80..0xc0 - Sha M memory which contains message.
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: 0x80..0xc0 - Sha M memory which contains message.
Auto Trait Implementations§
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