pub struct ATOMIC { /* private fields */ }
Implementations§
Source§impl ATOMIC
impl ATOMIC
Sourcepub const PTR: *const <ATOMIC as Deref>::Target = {0x60011000 as *const <esp32c6::ATOMIC as core::ops::Deref>::Target}
pub const PTR: *const <ATOMIC as Deref>::Target = {0x60011000 as *const <esp32c6::ATOMIC as core::ops::Deref>::Target}
Pointer to the register block
Methods from Deref<Target = RegisterBlock>§
Sourcepub fn addr_lock(&self) -> &Reg<ADDR_LOCK_SPEC>
pub fn addr_lock(&self) -> &Reg<ADDR_LOCK_SPEC>
0x00 - hardware lock regsiter
Sourcepub fn lr_addr(&self) -> &Reg<LR_ADDR_SPEC>
pub fn lr_addr(&self) -> &Reg<LR_ADDR_SPEC>
0x04 - gloable lr address regsiter
Sourcepub fn lr_value(&self) -> &Reg<LR_VALUE_SPEC>
pub fn lr_value(&self) -> &Reg<LR_VALUE_SPEC>
0x08 - gloable lr value regsiter
Sourcepub fn lock_status(&self) -> &Reg<LOCK_STATUS_SPEC>
pub fn lock_status(&self) -> &Reg<LOCK_STATUS_SPEC>
0x0c - lock status regsiter
Sourcepub fn counter(&self) -> &Reg<COUNTER_SPEC>
pub fn counter(&self) -> &Reg<COUNTER_SPEC>
0x10 - wait counter register
Trait Implementations§
Source§impl Peripheral for ATOMIC
impl Peripheral for ATOMIC
Auto Trait Implementations§
impl Freeze for ATOMIC
impl RefUnwindSafe for ATOMIC
impl Send for ATOMIC
impl Sync for ATOMIC
impl Unpin for ATOMIC
impl UnwindSafe for ATOMIC
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