#[repr(u16)]
pub enum Interrupt {
Show 39 variants WWDG, PVD, TAMPER, RTC, FLASH, RCC, EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, DMA1_CHANNEL1, DMA1_CHANNEL2, DMA1_CHANNEL3, DMA1_CHANNEL4, DMA1_CHANNEL5, DMA1_CHANNEL6, DMA1_CHANNEL7, ADC, EXTI9_5, TIM1_BRK, TIM1_UP_, TIM1_TRG_COM, TIM1_CC, TIM2, TIM3, TIM4, I2C1_EV, I2C1_ER, I2C2_EV, I2C2_ER, SPI1, SPI2, USART1, USART2, USART3, EXTI15_10, RTCALARM, USBHD,
}
Expand description

Enumeration of all the interrupts.

Variants

WWDG

16 - Window Watchdog interrupt

PVD

17 - PVD through EXTI line detection interrupt

TAMPER

18 - Tamper interrupt

RTC

19 - RTC global interrupt

FLASH

20 - Flash global interrupt

RCC

21 - RCC global interrupt

EXTI0

22 - EXTI Line0 interrupt

EXTI1

23 - EXTI Line1 interrupt

EXTI2

24 - EXTI Line2 interrupt

EXTI3

25 - EXTI Line3 interrupt

EXTI4

26 - EXTI Line4 interrupt

DMA1_CHANNEL1

27 - DMA1 Channel1 global interrupt

DMA1_CHANNEL2

28 - DMA1 Channel2 global interrupt

DMA1_CHANNEL3

29 - DMA1 Channel3 global interrupt

DMA1_CHANNEL4

30 - DMA1 Channel4 global interrupt

DMA1_CHANNEL5

31 - DMA1 Channel5 global interrupt

DMA1_CHANNEL6

32 - DMA1 Channel6 global interrupt

DMA1_CHANNEL7

33 - DMA1 Channel7 global interrupt

ADC

34 - ADC global interrupt

EXTI9_5

39 - EXTI Line[9:5] interrupts

TIM1_BRK

40 - TIM1 Break interrupt

TIM1_UP_

41 - TIM1 Update interrupt

TIM1_TRG_COM

42 - TIM1 Trigger and Commutation interrupts

TIM1_CC

43 - TIM1 Capture Compare interrupt

TIM2

44 - TIM2 global interrupt

TIM3

45 - TIM3 global interrupt

TIM4

46 - TIM4 global interrupt

I2C1_EV

47 - I2C1 event interrupt

I2C1_ER

48 - I2C1 error interrupt

I2C2_EV

49 - I2C2 event interrupt

I2C2_ER

50 - I2C2 error interrupt

SPI1

51 - SPI1 global interrupt

SPI2

52 - SPI2 global interrupt

USART1

53 - USART1 global interrupt

USART2

54 - USART2 global interrupt

USART3

55 - USART3 global interrupt

EXTI15_10

56 - EXTI Line[15:10] interrupts

RTCALARM

57 - RTC Alarms through EXTI line interrupt

USBHD

59 - USBHD_IRQHandler

Implementations

Attempt to convert a given value into an Interrupt

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.