Struct esp32s2_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 - HMAC start control register
sourcepub fn set_para_purpose(&self) -> &Reg<SET_PARA_PURPOSE_SPEC>
pub fn set_para_purpose(&self) -> &Reg<SET_PARA_PURPOSE_SPEC>
0x44 - HMAC parameter configuration register
sourcepub fn set_para_key(&self) -> &Reg<SET_PARA_KEY_SPEC>
pub fn set_para_key(&self) -> &Reg<SET_PARA_KEY_SPEC>
0x48 - HMAC key configuration register
sourcepub fn set_para_finish(&self) -> &Reg<SET_PARA_FINISH_SPEC>
pub fn set_para_finish(&self) -> &Reg<SET_PARA_FINISH_SPEC>
0x4c - HMAC configuration completion register
sourcepub fn set_message_one(&self) -> &Reg<SET_MESSAGE_ONE_SPEC>
pub fn set_message_one(&self) -> &Reg<SET_MESSAGE_ONE_SPEC>
0x50 - HMAC one message control register
sourcepub fn set_message_ing(&self) -> &Reg<SET_MESSAGE_ING_SPEC>
pub fn set_message_ing(&self) -> &Reg<SET_MESSAGE_ING_SPEC>
0x54 - HMAC message continue register
sourcepub fn set_message_end(&self) -> &Reg<SET_MESSAGE_END_SPEC>
pub fn set_message_end(&self) -> &Reg<SET_MESSAGE_END_SPEC>
0x58 - HMAC message end register
sourcepub fn set_result_finish(&self) -> &Reg<SET_RESULT_FINISH_SPEC>
pub fn set_result_finish(&self) -> &Reg<SET_RESULT_FINISH_SPEC>
0x5c - HMAC read result completion register
sourcepub fn set_invalidate_jtag(&self) -> &Reg<SET_INVALIDATE_JTAG_SPEC>
pub fn set_invalidate_jtag(&self) -> &Reg<SET_INVALIDATE_JTAG_SPEC>
0x60 - Invalidate JTAG result register
sourcepub fn set_invalidate_ds(&self) -> &Reg<SET_INVALIDATE_DS_SPEC>
pub fn set_invalidate_ds(&self) -> &Reg<SET_INVALIDATE_DS_SPEC>
0x64 - Invalidate digital signature result register
sourcepub fn query_error(&self) -> &Reg<QUERY_ERROR_SPEC>
pub fn query_error(&self) -> &Reg<QUERY_ERROR_SPEC>
0x68 - The matching result between key and purpose user configured
sourcepub fn query_busy(&self) -> &Reg<QUERY_BUSY_SPEC>
pub fn query_busy(&self) -> &Reg<QUERY_BUSY_SPEC>
0x6c - The busy state of HMAC module
sourcepub fn wr_message_(&self, n: usize) -> &Reg<WR_MESSAGE__SPEC>
pub fn wr_message_(&self, n: usize) -> &Reg<WR_MESSAGE__SPEC>
0x80..0xc0 - Message register %s
sourcepub fn wr_message__iter(&self) -> impl Iterator<Item = &Reg<WR_MESSAGE__SPEC>>
pub fn wr_message__iter(&self) -> impl Iterator<Item = &Reg<WR_MESSAGE__SPEC>>
Iterator for array of: 0x80..0xc0 - Message register %s
sourcepub fn rd_result_(&self, n: usize) -> &Reg<RD_RESULT__SPEC>
pub fn rd_result_(&self, n: usize) -> &Reg<RD_RESULT__SPEC>
0xc0..0xe0 - Hash result register %s
sourcepub fn rd_result__iter(&self) -> impl Iterator<Item = &Reg<RD_RESULT__SPEC>>
pub fn rd_result__iter(&self) -> impl Iterator<Item = &Reg<RD_RESULT__SPEC>>
Iterator for array of: 0xc0..0xe0 - Hash result register %s
sourcepub fn set_message_pad(&self) -> &Reg<SET_MESSAGE_PAD_SPEC>
pub fn set_message_pad(&self) -> &Reg<SET_MESSAGE_PAD_SPEC>
0xf0 - Software padding register
sourcepub fn one_block(&self) -> &Reg<ONE_BLOCK_SPEC>
pub fn one_block(&self) -> &Reg<ONE_BLOCK_SPEC>
0xf4 - One block message register.