pub enum Interrupt {
Show 34 variants PVD, TAMP_STAMP, RTC_WKUP, FLASH, RCC, EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, ADC, EXTI9_5, TIM1_BRK_TIM9, TIM1_UP_TIM10, TIM1_TRG_COM_TIM11, TIM1_CC, TIM2, TIM3, I2C1_EV, I2C1_ER, I2C2_EV, I2C2_ER, SPI1, SPI2, EXTI15_10, RTC_ALARM, OTG_FS_WKUP, SDIO, SPI3, OTG_FS, I2C3_EV, I2C3_ER, FPU, SPI4,
}
Expand description

Enumeration of all the interrupts

Variants§

§

PVD

1 - PVD through EXTI line detection interrupt

§

TAMP_STAMP

2 - Tamper and TimeStamp interrupts through the EXTI line

§

RTC_WKUP

3 - RTC Wakeup interrupt through the EXTI line

§

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

§

ADC

18 - ADC1 global interrupt

§

EXTI9_5

23 - EXTI Line[9:5] interrupts

§

TIM1_BRK_TIM9

24 - TIM1 Break interrupt and TIM9 global interrupt

§

TIM1_UP_TIM10

25 - TIM1 Update interrupt and TIM10 global interrupt

§

TIM1_TRG_COM_TIM11

26 - TIM1 Trigger and Commutation interrupts and TIM11 global interrupt

§

TIM1_CC

27 - TIM1 Capture Compare interrupt

§

TIM2

28 - TIM2 global interrupt

§

TIM3

29 - TIM3 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

§

EXTI15_10

40 - EXTI Line[15:10] interrupts

§

RTC_ALARM

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

§

OTG_FS_WKUP

42 - USB On-The-Go FS Wakeup through EXTI line interrupt

§

SDIO

49 - SDIO global interrupt

§

SPI3

51 - SPI3 global interrupt

§

OTG_FS

67 - USB On The Go FS global interrupt

§

I2C3_EV

72 - I2C3 event interrupt

§

I2C3_ER

73 - I2C3 error interrupt

§

FPU

81 - Floating point interrupt

§

SPI4

84 - SPI4 global interrupt

Trait Implementations§

Returns the number associated with an interrupt

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.

Should always be Self
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.