embassy-nrf

Crates

git

Versions

nrf5340-net

Flavors

embassy_nrf::pac

Enum Interrupt

pub enum Interrupt {
Show 20 variants CLOCK_POWER = 5, RADIO = 8, RNG = 9, GPIOTE = 10, WDT = 11, TIMER0 = 12, ECB = 13, AAR_CCM = 14, TEMP = 16, RTC0 = 17, IPC = 18, SERIAL0 = 19, EGU0 = 20, RTC1 = 22, TIMER1 = 24, TIMER2 = 25, SWI0 = 26, SWI1 = 27, SWI2 = 28, SWI3 = 29,
}

Variants§

§

CLOCK_POWER = 5

5 - CLOCK_POWER

§

RADIO = 8

8 - RADIO

§

RNG = 9

9 - RNG

§

GPIOTE = 10

10 - GPIOTE

§

WDT = 11

11 - WDT

§

TIMER0 = 12

12 - TIMER0

§

ECB = 13

13 - ECB

§

AAR_CCM = 14

14 - AAR_CCM

§

TEMP = 16

16 - TEMP

§

RTC0 = 17

17 - RTC0

§

IPC = 18

18 - IPC

§

SERIAL0 = 19

19 - SERIAL0

§

EGU0 = 20

20 - EGU0

§

RTC1 = 22

22 - RTC1

§

TIMER1 = 24

24 - TIMER1

§

TIMER2 = 25

25 - TIMER2

§

SWI0 = 26

26 - SWI0

§

SWI1 = 27

27 - SWI1

§

SWI2 = 28

28 - SWI2

§

SWI3 = 29

29 - SWI3

Trait Implementations§

§

impl Clone for Interrupt

§

fn clone(&self) -> Interrupt

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Interrupt

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl InterruptNumber for Interrupt

§

fn number(self) -> u16

Return the interrupt number associated with this variant. Read more
§

impl PartialEq for Interrupt

§

fn eq(&self, other: &Interrupt) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl Copy for Interrupt

§

impl Eq for Interrupt

§

impl StructuralPartialEq for Interrupt

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> InterruptExt for T
where T: InterruptNumber + Copy,

Source§

unsafe fn enable(self)

Enable the interrupt.
Source§

fn disable(self)

Disable the interrupt.
Source§

fn is_active(self) -> bool

Check if interrupt is being handled.
Source§

fn is_enabled(self) -> bool

Check if interrupt is enabled.
Source§

fn is_pending(self) -> bool

Check if interrupt is pending.
Source§

fn pend(self)

Set interrupt pending.
Source§

fn unpend(self)

Unset interrupt pending.
Source§

fn get_priority(self) -> Priority

Get the priority of the interrupt.
Source§

fn set_priority(self, prio: Priority)

Set the interrupt priority.
Source§

fn set_priority_with_cs(self, _cs: CriticalSection<'_>, prio: Priority)

Set the interrupt priority with an already-acquired critical section Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.