pub struct HMAC { /* private fields */ }Expand description
Represents a virtual peripheral with no associated hardware.
This struct is generated by the create_peripheral! macro when the peripheral
is defined as virtual.
Implementations§
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.