Struct esp32c3::ds::RegisterBlock
source · [−]#[repr(C)]pub struct RegisterBlock {Show 13 fields
pub y_mem: [Reg<Y_MEM_SPEC>; 512],
pub m_mem: [Reg<M_MEM_SPEC>; 512],
pub rb_mem: [Reg<RB_MEM_SPEC>; 512],
pub box_mem: [Reg<BOX_MEM_SPEC>; 48],
pub x_mem: [Reg<X_MEM_SPEC>; 512],
pub z_mem: [Reg<Z_MEM_SPEC>; 512],
pub set_start: Reg<SET_START_SPEC>,
pub set_continue: Reg<SET_CONTINUE_SPEC>,
pub set_finish: Reg<SET_FINISH_SPEC>,
pub query_busy: Reg<QUERY_BUSY_SPEC>,
pub query_key_wrong: Reg<QUERY_KEY_WRONG_SPEC>,
pub query_check: Reg<QUERY_CHECK_SPEC>,
pub date: Reg<DATE_SPEC>,
/* private fields */
}
Expand description
Register block
Fields
y_mem: [Reg<Y_MEM_SPEC>; 512]
0x00..0x200 - memory that stores Y
m_mem: [Reg<M_MEM_SPEC>; 512]
0x200..0x400 - memory that stores M
rb_mem: [Reg<RB_MEM_SPEC>; 512]
0x400..0x600 - memory that stores Rb
box_mem: [Reg<BOX_MEM_SPEC>; 48]
0x600..0x630 - memory that stores BOX
x_mem: [Reg<X_MEM_SPEC>; 512]
0x800..0xa00 - memory that stores X
z_mem: [Reg<Z_MEM_SPEC>; 512]
0xa00..0xc00 - memory that stores Z
set_start: Reg<SET_START_SPEC>
0xe00 - DS start control register
set_continue: Reg<SET_CONTINUE_SPEC>
0xe04 - DS continue control register
set_finish: Reg<SET_FINISH_SPEC>
0xe08 - DS finish control register
query_busy: Reg<QUERY_BUSY_SPEC>
0xe0c - DS query busy register
query_key_wrong: Reg<QUERY_KEY_WRONG_SPEC>
0xe10 - DS query key-wrong counter register
query_check: Reg<QUERY_CHECK_SPEC>
0xe14 - DS query check result register
date: Reg<DATE_SPEC>
0xe20 - DS version control register
Auto Trait Implementations
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more