Enum interrupt

Source
pub enum interrupt {
Show 57 variants WWDG, PVD, TAMPER_STAMP, RTC_WKUP, FLASH, RCC, EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, DMA1_CHANNEL1, DMA1_CHANNEL2, DMA1_CHANNEL3, DMA1_CHANNEL4, DMA1_CHANNEL5, DMA1_CHANNEL6, DMA1_CHANNEL7, ADC1, USB_HP, USB_LP, DAC, COMP_CA, EXTI9_5, LCD, TIM9, TIM10, TIM11, TIM2, TIM3, TIM4, I2C1_EV, I2C1_ER, I2C2_EV, I2C2_ER, SPI1, SPI2, USART1, USART2, USART3, EXTI15_10, RTC_ALARM, USB_FS_WKUP, TIM6, TIM7, SDIO, TIM5, SPI3, UART4, UART5, DMA2_CH1, DMA2_CH2, DMA2_CH3, DMA2_CH4, DMA2_CH5, AES, COMP_ACQ,
}
Expand description

Enumeration of all the interrupts

Variants§

§

WWDG

0 - Window Watchdog interrupt

§

PVD

1 - PVD through EXTI Line detection interrupt

§

TAMPER_STAMP

2 - Tamper and TimeStamp through EXTI line interrupts

§

RTC_WKUP

3 - RTC Wakeup through EXTI line interrupt

§

FLASH

4 - Flash global interrupt

§

RCC

5 - RCC global interrupt

§

EXTI0

6 - EXTI Line0 interrupt

§

EXTI1

7 - EXTI Line1 interrupt

§

EXTI2

8 - EXTI Line2 interrupt

§

EXTI3

9 - EXTI Line3 interrupt

§

EXTI4

10 - EXTI Line4 interrupt

§

DMA1_CHANNEL1

11 - DMA1 Channel1 global interrupt

§

DMA1_CHANNEL2

12 - DMA1 Channel2 global interrupt

§

DMA1_CHANNEL3

13 - DMA1 Channel3 global interrupt

§

DMA1_CHANNEL4

14 - DMA1 Channel4 global interrupt

§

DMA1_CHANNEL5

15 - DMA1 Channel5 global interrupt

§

DMA1_CHANNEL6

16 - DMA1 Channel6 global interrupt

§

DMA1_CHANNEL7

17 - DMA1 Channel7 global interrupt

§

ADC1

18 - ADC1 global interrupt

§

USB_HP

19 - USB High priority interrupt

§

USB_LP

20 - USB Low priority interrupt

§

DAC

21 - DAC interrupt

§

COMP_CA

22 - Comparator wakeup through EXTI line (21 and 22) interrupt/Channel acquisition interrupt

§

EXTI9_5

23 - EXTI Line[9:5] interrupts

§

LCD

24 - LCD global interrupt

§

TIM9

25 - TIM9 global interrupt

§

TIM10

26 - TIM10 global interrupt

§

TIM11

27 - TIM11 global interrupt

§

TIM2

28 - TIM2 global interrupt

§

TIM3

29 - TIM3 global interrupt

§

TIM4

30 - TIM4 global interrupt

§

I2C1_EV

31 - I2C1 event interrupt

§

I2C1_ER

32 - I2C1 error interrupt

§

I2C2_EV

33 - I2C2 event interrupt

§

I2C2_ER

34 - I2C2 error interrupt

§

SPI1

35 - SPI1 global interrupt

§

SPI2

36 - SPI2 global interrupt

§

USART1

37 - USART1 global interrupt

§

USART2

38 - USART2 global interrupt

§

USART3

39 - USART3 global interrupt

§

EXTI15_10

40 - EXTI Line[15:10] interrupts

§

RTC_ALARM

41 - RTC Alarms (A and B) through EXTI line interrupt

§

USB_FS_WKUP

42 - USB Device FS Wakeup through EXTI line interrupt

§

TIM6

43 - TIM6 global interrupt

§

TIM7

44 - TIM7 global interrupt

§

SDIO

45 - SDIO global interrupt

§

TIM5

46 - TIM5 global interrupt

§

SPI3

47 - SPI3 global interrupt

§

UART4

48 - UART4 Global interrupt

§

UART5

49 - UART5 Global interrupt

§

DMA2_CH1

50 - DMA2 Channel 1 interrupt

§

DMA2_CH2

51 - DMA2 Channel 2 interrupt

§

DMA2_CH3

52 - DMA2 Channel 3 interrupt

§

DMA2_CH4

53 - DMA2 Channel 4 interrupt

§

DMA2_CH5

54 - DMA2 Channel 5 interrupt

§

AES

55 - AES global interrupt

§

COMP_ACQ

56 - Comparator Channel Acquisition interrupt

Trait Implementations§

Source§

impl Nr for Interrupt

Source§

fn nr(&self) -> u8

Returns the number associated with an 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> 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.