Struct SW_INTERRUPT
#[non_exhaustive]pub struct SW_INTERRUPT;
Expand description
SW_INTERRUPT peripheral singleton
Implementations§
§impl SW_INTERRUPT
impl SW_INTERRUPT
pub unsafe fn steal() -> SW_INTERRUPT
pub unsafe fn steal() -> SW_INTERRUPT
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§
§impl Debug for SW_INTERRUPT
impl Debug for SW_INTERRUPT
§impl Peripheral for SW_INTERRUPT
impl Peripheral for SW_INTERRUPT
§type P = SW_INTERRUPT
type P = SW_INTERRUPT
Peripheral singleton type
§unsafe fn clone_unchecked(&self) -> <SW_INTERRUPT as Peripheral>::P
unsafe fn clone_unchecked(&self) -> <SW_INTERRUPT as Peripheral>::P
Unsafely clone (duplicate) a peripheral singleton. Read more
§fn into_ref<'a>(self) -> PeripheralRef<'a, Self::P>where
Self: 'a,
fn into_ref<'a>(self) -> PeripheralRef<'a, Self::P>where
Self: 'a,
Convert a value into a
PeripheralRef
. Read moreAuto Trait Implementations§
impl Freeze for SW_INTERRUPT
impl RefUnwindSafe for SW_INTERRUPT
impl Send for SW_INTERRUPT
impl Sync for SW_INTERRUPT
impl Unpin for SW_INTERRUPT
impl UnwindSafe for SW_INTERRUPT
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