Struct esp32s3_hal::peripherals::DS
source · pub struct DS { /* private fields */ }
Implementations§
source§impl DS
impl DS
sourcepub unsafe fn steal() -> DS
pub unsafe fn steal() -> DS
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 c_mem(&self, n: usize) -> &Reg<C_MEM_SPEC>
pub fn c_mem(&self, n: usize) -> &Reg<C_MEM_SPEC>
0x00..0x630 - Memory C
sourcepub fn c_mem_iter(&self) -> impl Iterator<Item = &Reg<C_MEM_SPEC>>
pub fn c_mem_iter(&self) -> impl Iterator<Item = &Reg<C_MEM_SPEC>>
Iterator for array of: 0x00..0x630 - Memory C
sourcepub fn iv__iter(&self) -> impl Iterator<Item = &Reg<IV__SPEC>>
pub fn iv__iter(&self) -> impl Iterator<Item = &Reg<IV__SPEC>>
Iterator for array of: 0x630..0x640 - IV block data
sourcepub fn x_mem(&self, n: usize) -> &Reg<X_MEM_SPEC>
pub fn x_mem(&self, n: usize) -> &Reg<X_MEM_SPEC>
0x800..0xa00 - Memory X
sourcepub fn x_mem_iter(&self) -> impl Iterator<Item = &Reg<X_MEM_SPEC>>
pub fn x_mem_iter(&self) -> impl Iterator<Item = &Reg<X_MEM_SPEC>>
Iterator for array of: 0x800..0xa00 - Memory X
sourcepub fn z_mem(&self, n: usize) -> &Reg<Z_MEM_SPEC>
pub fn z_mem(&self, n: usize) -> &Reg<Z_MEM_SPEC>
0xa00..0xc00 - Memory Z
sourcepub fn z_mem_iter(&self) -> impl Iterator<Item = &Reg<Z_MEM_SPEC>>
pub fn z_mem_iter(&self) -> impl Iterator<Item = &Reg<Z_MEM_SPEC>>
Iterator for array of: 0xa00..0xc00 - Memory Z
sourcepub fn set_start(&self) -> &Reg<SET_START_SPEC>
pub fn set_start(&self) -> &Reg<SET_START_SPEC>
0xe00 - Activates the DS peripheral
sourcepub fn set_me(&self) -> &Reg<SET_ME_SPEC>
pub fn set_me(&self) -> &Reg<SET_ME_SPEC>
0xe04 - Starts DS operation
sourcepub fn set_finish(&self) -> &Reg<SET_FINISH_SPEC>
pub fn set_finish(&self) -> &Reg<SET_FINISH_SPEC>
0xe08 - Ends DS operation
sourcepub fn query_busy(&self) -> &Reg<QUERY_BUSY_SPEC>
pub fn query_busy(&self) -> &Reg<QUERY_BUSY_SPEC>
0xe0c - Status of the DS perihperal
sourcepub fn query_key_wrong(&self) -> &Reg<QUERY_KEY_WRONG_SPEC>
pub fn query_key_wrong(&self) -> &Reg<QUERY_KEY_WRONG_SPEC>
0xe10 - Checks the reason why DS_KEY is not ready
sourcepub fn query_check(&self) -> &Reg<QUERY_CHECK_SPEC>
pub fn query_check(&self) -> &Reg<QUERY_CHECK_SPEC>
0xe14 - Queries DS check result
Trait Implementations§
source§impl Peripheral for DS
impl Peripheral for DS
Auto Trait Implementations§
impl RefUnwindSafe for DS
impl Send for DS
impl Sync for DS
impl Unpin for DS
impl UnwindSafe for DS
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