Struct esp32c3::hmac::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock { /* private fields */ }
Expand description
Register block
Implementations§
source§impl RegisterBlock
impl RegisterBlock
sourcepub const fn set_para_purpose(&self) -> &SET_PARA_PURPOSE
pub const fn set_para_purpose(&self) -> &SET_PARA_PURPOSE
0x44 - Configure purpose.
sourcepub const fn set_para_key(&self) -> &SET_PARA_KEY
pub const fn set_para_key(&self) -> &SET_PARA_KEY
0x48 - Configure key.
sourcepub const fn set_para_finish(&self) -> &SET_PARA_FINISH
pub const fn set_para_finish(&self) -> &SET_PARA_FINISH
0x4c - Finish initial configuration.
sourcepub const fn set_message_one(&self) -> &SET_MESSAGE_ONE
pub const fn set_message_one(&self) -> &SET_MESSAGE_ONE
0x50 - Process control register 1.
sourcepub const fn set_message_ing(&self) -> &SET_MESSAGE_ING
pub const fn set_message_ing(&self) -> &SET_MESSAGE_ING
0x54 - Process control register 2.
sourcepub const fn set_message_end(&self) -> &SET_MESSAGE_END
pub const fn set_message_end(&self) -> &SET_MESSAGE_END
0x58 - Process control register 3.
sourcepub const fn set_result_finish(&self) -> &SET_RESULT_FINISH
pub const fn set_result_finish(&self) -> &SET_RESULT_FINISH
0x5c - Process control register 4.
sourcepub const fn set_invalidate_jtag(&self) -> &SET_INVALIDATE_JTAG
pub const fn set_invalidate_jtag(&self) -> &SET_INVALIDATE_JTAG
0x60 - Invalidate register 0.
sourcepub const fn set_invalidate_ds(&self) -> &SET_INVALIDATE_DS
pub const fn set_invalidate_ds(&self) -> &SET_INVALIDATE_DS
0x64 - Invalidate register 1.
sourcepub const fn query_error(&self) -> &QUERY_ERROR
pub const fn query_error(&self) -> &QUERY_ERROR
0x68 - Error register.
sourcepub const fn query_busy(&self) -> &QUERY_BUSY
pub const fn query_busy(&self) -> &QUERY_BUSY
0x6c - Busy register.
sourcepub const fn wr_message_mem(&self, n: usize) -> &WR_MESSAGE_MEM
pub const fn wr_message_mem(&self, n: usize) -> &WR_MESSAGE_MEM
0x80..0xc0 - Message block memory.
sourcepub fn wr_message_mem_iter(&self) -> impl Iterator<Item = &WR_MESSAGE_MEM>
pub fn wr_message_mem_iter(&self) -> impl Iterator<Item = &WR_MESSAGE_MEM>
Iterator for array of: 0x80..0xc0 - Message block memory.
sourcepub const fn rd_result_mem(&self, n: usize) -> &RD_RESULT_MEM
pub const fn rd_result_mem(&self, n: usize) -> &RD_RESULT_MEM
0xc0..0xe0 - Result from upstream.
sourcepub fn rd_result_mem_iter(&self) -> impl Iterator<Item = &RD_RESULT_MEM>
pub fn rd_result_mem_iter(&self) -> impl Iterator<Item = &RD_RESULT_MEM>
Iterator for array of: 0xc0..0xe0 - Result from upstream.
sourcepub const fn set_message_pad(&self) -> &SET_MESSAGE_PAD
pub const fn set_message_pad(&self) -> &SET_MESSAGE_PAD
0xf0 - Process control register 5.
sourcepub const fn soft_jtag_ctrl(&self) -> &SOFT_JTAG_CTRL
pub const fn soft_jtag_ctrl(&self) -> &SOFT_JTAG_CTRL
0xf8 - Jtag register 0.
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