pub struct SHA { /* private fields */ }
Implementations§
Source§impl SHA
impl SHA
Sourcepub const PTR: *const <SHA as Deref>::Target = {0x60089000 as *const <esp32c6::SHA as core::ops::Deref>::Target}
pub const PTR: *const <SHA as Deref>::Target = {0x60089000 as *const <esp32c6::SHA as core::ops::Deref>::Target}
Pointer to the register block
Methods from Deref<Target = RegisterBlock>§
Sourcepub fn t_string(&self) -> &Reg<T_STRING_SPEC>
pub fn t_string(&self) -> &Reg<T_STRING_SPEC>
0x04 - SHA 512/t configuration register 0.
Sourcepub fn t_length(&self) -> &Reg<T_LENGTH_SPEC>
pub fn t_length(&self) -> &Reg<T_LENGTH_SPEC>
0x08 - SHA 512/t configuration register 1.
Sourcepub fn dma_block_num(&self) -> &Reg<DMA_BLOCK_NUM_SPEC>
pub fn dma_block_num(&self) -> &Reg<DMA_BLOCK_NUM_SPEC>
0x0c - DMA configuration register 0.
Sourcepub fn start(&self) -> &Reg<START_SPEC>
pub fn start(&self) -> &Reg<START_SPEC>
0x10 - Typical SHA configuration register 0.
Sourcepub fn continue_(&self) -> &Reg<CONTINUE_SPEC>
pub fn continue_(&self) -> &Reg<CONTINUE_SPEC>
0x14 - Typical SHA configuration register 1.
Sourcepub fn dma_start(&self) -> &Reg<DMA_START_SPEC>
pub fn dma_start(&self) -> &Reg<DMA_START_SPEC>
0x1c - DMA configuration register 1.
Sourcepub fn dma_continue(&self) -> &Reg<DMA_CONTINUE_SPEC>
pub fn dma_continue(&self) -> &Reg<DMA_CONTINUE_SPEC>
0x20 - DMA configuration register 2.
Sourcepub fn clear_irq(&self) -> &Reg<CLEAR_IRQ_SPEC>
pub fn clear_irq(&self) -> &Reg<CLEAR_IRQ_SPEC>
0x24 - Interrupt clear register.
Sourcepub fn irq_ena(&self) -> &Reg<IRQ_ENA_SPEC>
pub fn irq_ena(&self) -> &Reg<IRQ_ENA_SPEC>
0x28 - Interrupt enable register.
Sourcepub fn h_mem(&self, n: usize) -> &Reg<H_MEM_SPEC>
pub fn h_mem(&self, n: usize) -> &Reg<H_MEM_SPEC>
0x40..0x60 - Sha H memory which contains intermediate hash or finial hash.
Sourcepub fn h_mem_iter(&self) -> impl Iterator<Item = &Reg<H_MEM_SPEC>>
pub fn h_mem_iter(&self) -> impl Iterator<Item = &Reg<H_MEM_SPEC>>
Iterator for array of: 0x40..0x60 - Sha H memory which contains intermediate hash or finial hash.
Sourcepub fn m_mem(&self, n: usize) -> &Reg<M_MEM_SPEC>
pub fn m_mem(&self, n: usize) -> &Reg<M_MEM_SPEC>
0x80..0xc0 - Sha M memory which contains message.
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: 0x80..0xc0 - Sha M memory which contains message.
Trait Implementations§
Source§impl Peripheral for SHA
impl Peripheral for SHA
Auto Trait Implementations§
impl Freeze for SHA
impl RefUnwindSafe for SHA
impl Send for SHA
impl Sync for SHA
impl Unpin for SHA
impl UnwindSafe for SHA
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