Struct esp32c6_hal::peripherals::ATOMIC
source · pub struct ATOMIC { /* private fields */ }
Implementations§
source§impl ATOMIC
impl ATOMIC
sourcepub unsafe fn steal() -> ATOMIC
pub unsafe fn steal() -> ATOMIC
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.
Trait Implementations§
source§impl Peripheral for ATOMIC
impl Peripheral for ATOMIC
Auto Trait Implementations§
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