stm32-metapac

Crates

git

Versions

stm32wb06kc

Flavors

Interrupt

Enum Interrupt 

pub enum Interrupt {
Show 23 variants FLASH = 0, RCC = 1, PVD = 2, I2C1 = 3, I2C2 = 4, SPI1 = 5, SPI2 = 6, SPI3 = 7, USART1 = 8, LPUART1 = 9, TIM1 = 10, RTC = 11, ADC = 12, PKA = 13, UPCONV = 14, GPIOA = 15, GPIOB = 16, DMA = 17, RADIO_TXRX = 18, RADIO_TIMER_ERROR = 20, RADIO_TIMER_CPU_WKUP = 23, RADIO_TIMER_TXRX_WKUP = 24, RADIO_TXRX_SEQ = 25,
}

Variants§

§

FLASH = 0

0 - FLASH

§

RCC = 1

1 - RCC

§

PVD = 2

2 - PVD

§

I2C1 = 3

3 - I2C1

§

I2C2 = 4

4 - I2C2

§

SPI1 = 5

5 - SPI1

§

SPI2 = 6

6 - SPI2

§

SPI3 = 7

7 - SPI3

§

USART1 = 8

8 - USART1

§

LPUART1 = 9

9 - LPUART1

§

TIM1 = 10

10 - TIM1

§

RTC = 11

11 - RTC

§

ADC = 12

12 - ADC

§

PKA = 13

13 - PKA

§

UPCONV = 14

14 - UPCONV

§

GPIOA = 15

15 - GPIOA

§

GPIOB = 16

16 - GPIOB

§

DMA = 17

17 - DMA

§

RADIO_TXRX = 18

18 - RADIO_TXRX

§

RADIO_TIMER_ERROR = 20

20 - RADIO_TIMER_ERROR

§

RADIO_TIMER_CPU_WKUP = 23

23 - RADIO_TIMER_CPU_WKUP

§

RADIO_TIMER_TXRX_WKUP = 24

24 - RADIO_TIMER_TXRX_WKUP

§

RADIO_TXRX_SEQ = 25

25 - RADIO_TXRX_SEQ

Trait Implementations§

§

impl Clone for Interrupt

§

fn clone(&self) -> Interrupt

Returns a duplicate 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

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, dest: *mut u8)

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

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

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.