#[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..0x60 - 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..0x60 - 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 !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