Struct esp32s3_hal::peripherals::HMAC
source · pub struct HMAC { /* private fields */ }
Implementations§
source§impl HMAC
impl HMAC
sourcepub unsafe fn steal() -> HMAC
pub unsafe fn steal() -> HMAC
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 set_start(&self) -> &Reg<SET_START_SPEC>
pub fn set_start(&self) -> &Reg<SET_START_SPEC>
0x40 - Process control register 0.
sourcepub fn set_para_purpose(&self) -> &Reg<SET_PARA_PURPOSE_SPEC>
pub fn set_para_purpose(&self) -> &Reg<SET_PARA_PURPOSE_SPEC>
0x44 - Configure purpose.
sourcepub fn set_para_key(&self) -> &Reg<SET_PARA_KEY_SPEC>
pub fn set_para_key(&self) -> &Reg<SET_PARA_KEY_SPEC>
0x48 - Configure key.
sourcepub fn set_para_finish(&self) -> &Reg<SET_PARA_FINISH_SPEC>
pub fn set_para_finish(&self) -> &Reg<SET_PARA_FINISH_SPEC>
0x4c - Finish initial configuration.
sourcepub fn set_message_one(&self) -> &Reg<SET_MESSAGE_ONE_SPEC>
pub fn set_message_one(&self) -> &Reg<SET_MESSAGE_ONE_SPEC>
0x50 - Process control register 1.
sourcepub fn set_message_ing(&self) -> &Reg<SET_MESSAGE_ING_SPEC>
pub fn set_message_ing(&self) -> &Reg<SET_MESSAGE_ING_SPEC>
0x54 - Process control register 2.
sourcepub fn set_message_end(&self) -> &Reg<SET_MESSAGE_END_SPEC>
pub fn set_message_end(&self) -> &Reg<SET_MESSAGE_END_SPEC>
0x58 - Process control register 3.
sourcepub fn set_result_finish(&self) -> &Reg<SET_RESULT_FINISH_SPEC>
pub fn set_result_finish(&self) -> &Reg<SET_RESULT_FINISH_SPEC>
0x5c - Process control register 4.
sourcepub fn set_invalidate_jtag(&self) -> &Reg<SET_INVALIDATE_JTAG_SPEC>
pub fn set_invalidate_jtag(&self) -> &Reg<SET_INVALIDATE_JTAG_SPEC>
0x60 - Invalidate register 0.
sourcepub fn set_invalidate_ds(&self) -> &Reg<SET_INVALIDATE_DS_SPEC>
pub fn set_invalidate_ds(&self) -> &Reg<SET_INVALIDATE_DS_SPEC>
0x64 - Invalidate register 1.
sourcepub fn query_error(&self) -> &Reg<QUERY_ERROR_SPEC>
pub fn query_error(&self) -> &Reg<QUERY_ERROR_SPEC>
0x68 - Error register.
sourcepub fn query_busy(&self) -> &Reg<QUERY_BUSY_SPEC>
pub fn query_busy(&self) -> &Reg<QUERY_BUSY_SPEC>
0x6c - Busy register.
sourcepub fn wr_message_mem(&self, n: usize) -> &Reg<WR_MESSAGE_MEM_SPEC>
pub fn wr_message_mem(&self, n: usize) -> &Reg<WR_MESSAGE_MEM_SPEC>
0x80..0xc0 - Message block memory.
sourcepub fn wr_message_mem_iter(
&self
) -> impl Iterator<Item = &Reg<WR_MESSAGE_MEM_SPEC>>
pub fn wr_message_mem_iter( &self ) -> impl Iterator<Item = &Reg<WR_MESSAGE_MEM_SPEC>>
Iterator for array of: 0x80..0xc0 - Message block memory.
sourcepub fn rd_result_mem(&self, n: usize) -> &Reg<RD_RESULT_MEM_SPEC>
pub fn rd_result_mem(&self, n: usize) -> &Reg<RD_RESULT_MEM_SPEC>
0xc0..0xe0 - Result from upstream.
sourcepub fn rd_result_mem_iter(
&self
) -> impl Iterator<Item = &Reg<RD_RESULT_MEM_SPEC>>
pub fn rd_result_mem_iter( &self ) -> impl Iterator<Item = &Reg<RD_RESULT_MEM_SPEC>>
Iterator for array of: 0xc0..0xe0 - Result from upstream.
sourcepub fn set_message_pad(&self) -> &Reg<SET_MESSAGE_PAD_SPEC>
pub fn set_message_pad(&self) -> &Reg<SET_MESSAGE_PAD_SPEC>
0xf0 - Process control register 5.
sourcepub fn one_block(&self) -> &Reg<ONE_BLOCK_SPEC>
pub fn one_block(&self) -> &Reg<ONE_BLOCK_SPEC>
0xf4 - Process control register 6.
sourcepub fn soft_jtag_ctrl(&self) -> &Reg<SOFT_JTAG_CTRL_SPEC>
pub fn soft_jtag_ctrl(&self) -> &Reg<SOFT_JTAG_CTRL_SPEC>
0xf8 - Jtag register 0.
sourcepub fn wr_jtag(&self) -> &Reg<WR_JTAG_SPEC>
pub fn wr_jtag(&self) -> &Reg<WR_JTAG_SPEC>
0xfc - Jtag register 1.