pub struct ATOMIC { /* private fields */ }Expand description
Represents a virtual peripheral with no associated hardware.
This struct is generated by the create_peripheral! macro when the peripheral
is defined as virtual.
Implementations§
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