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>§
pub 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
pub 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
pub 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
pub 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
pub fn set_start(&self) -> &Reg<SET_START_SPEC>
pub fn set_start(&self) -> &Reg<SET_START_SPEC>
0xe00 - Activates the DS peripheral
pub fn set_me(&self) -> &Reg<SET_ME_SPEC>
pub fn set_me(&self) -> &Reg<SET_ME_SPEC>
0xe04 - Starts DS operation
pub fn set_finish(&self) -> &Reg<SET_FINISH_SPEC>
pub fn set_finish(&self) -> &Reg<SET_FINISH_SPEC>
0xe08 - Ends DS operation
pub fn query_busy(&self) -> &Reg<QUERY_BUSY_SPEC>
pub fn query_busy(&self) -> &Reg<QUERY_BUSY_SPEC>
0xe0c - Status of the DS perihperal
pub 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
pub fn query_check(&self) -> &Reg<QUERY_CHECK_SPEC>
pub fn query_check(&self) -> &Reg<QUERY_CHECK_SPEC>
0xe14 - Queries DS check result
pub fn date(&self) -> &Reg<DATE_SPEC>
pub fn date(&self) -> &Reg<DATE_SPEC>
0xe20 - DS version control register
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