pub enum interrupt {
Show 91 variants WWDG, PVD, TAMP_STAMP, RTC_WKUP, FLASH, RCC, EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, DMA1_STREAM0, DMA1_STREAM1, DMA1_STREAM2, DMA1_STREAM3, DMA1_STREAM4, DMA1_STREAM5, DMA1_STREAM6, ADC, CAN1_TX, CAN1_RX0, CAN1_RX1, CAN1_SCE, EXTI9_5, TIM1_BRK_TIM9, TIM1_UP_TIM10, TIM1_TRG_COM_TIM11, TIM1_CC, TIM2, TIM3, TIM4, I2C1_EV, I2C1_ER, I2C2_EV, I2C2_ER, SPI1, SPI2, USART1, USART2, USART3, EXTI15_10, RTC_ALARM, OTG_FS_WKUP, TIM8_BRK_TIM12, TIM8_UP_TIM13, TIM8_TRG_COM_TIM14, TIM8_CC, DMA1_STREAM7, FMC, SDIO, TIM5, SPI3, UART4, UART5, TIM6_DAC, TIM7, DMA2_STREAM0, DMA2_STREAM1, DMA2_STREAM2, DMA2_STREAM3, DMA2_STREAM4, ETH, ETH_WKUP, CAN2_TX, CAN2_RX0, CAN2_RX1, CAN2_SCE, OTG_FS, DMA2_STREAM5, DMA2_STREAM6, DMA2_STREAM7, USART6, I2C3_EV, I2C3_ER, OTG_HS_EP1_OUT, OTG_HS_EP1_IN, OTG_HS_WKUP, OTG_HS, DCMI, CRYP, HASH_RNG, FPU, UART7, UART8, SPI4, SPI5, SPI6, SAI1, LCD_TFT, LCD_TFT_1, DMA2D,
}
Expand description

Enumeration of all the interrupts.

Variants§

§

WWDG

0 - Window Watchdog interrupt

§

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

§

DMA1_STREAM0

11 - DMA1 Stream0 global interrupt

§

DMA1_STREAM1

12 - DMA1 Stream1 global interrupt

§

DMA1_STREAM2

13 - DMA1 Stream2 global interrupt

§

DMA1_STREAM3

14 - DMA1 Stream3 global interrupt

§

DMA1_STREAM4

15 - DMA1 Stream4 global interrupt

§

DMA1_STREAM5

16 - DMA1 Stream5 global interrupt

§

DMA1_STREAM6

17 - DMA1 Stream6 global interrupt

§

ADC

18 - ADC2 global interrupts

§

CAN1_TX

19 - CAN1 TX interrupts

§

CAN1_RX0

20 - CAN1 RX0 interrupts

§

CAN1_RX1

21 - CAN1 RX1 interrupts

§

CAN1_SCE

22 - CAN1 SCE 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

§

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

§

OTG_FS_WKUP

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

§

TIM8_BRK_TIM12

43 - TIM8 Break interrupt and TIM12 global interrupt

§

TIM8_UP_TIM13

44 - TIM8 Update interrupt and TIM13 global interrupt

§

TIM8_TRG_COM_TIM14

45 - TIM8 Trigger and Commutation interrupts and TIM14 global interrupt

§

TIM8_CC

46 - TIM8 Capture Compare interrupt

§

DMA1_STREAM7

47 - DMA1 Stream7 global interrupt

§

FMC

48 - FMC global interrupt

§

SDIO

49 - SDIO global interrupt

§

TIM5

50 - TIM5 global interrupt

§

SPI3

51 - SPI3 global interrupt

§

UART4

52 - UART4 global interrupt

§

UART5

53 - UART5 global interrupt

§

TIM6_DAC

54 - TIM6 global interrupt, DAC1 and DAC2 underrun error interrupt

§

TIM7

55 - TIM7 global interrupt

§

DMA2_STREAM0

56 - DMA2 Stream0 global interrupt

§

DMA2_STREAM1

57 - DMA2 Stream1 global interrupt

§

DMA2_STREAM2

58 - DMA2 Stream2 global interrupt

§

DMA2_STREAM3

59 - DMA2 Stream3 global interrupt

§

DMA2_STREAM4

60 - DMA2 Stream4 global interrupt

§

ETH

61 - Ethernet global interrupt

§

ETH_WKUP

62 - Ethernet Wakeup through EXTI line interrupt

§

CAN2_TX

63 - CAN2 TX interrupts

§

CAN2_RX0

64 - CAN2 RX0 interrupts

§

CAN2_RX1

65 - CAN2 RX1 interrupts

§

CAN2_SCE

66 - CAN2 SCE interrupt

§

OTG_FS

67 - USB On The Go FS global interrupt

§

DMA2_STREAM5

68 - DMA2 Stream5 global interrupt

§

DMA2_STREAM6

69 - DMA2 Stream6 global interrupt

§

DMA2_STREAM7

70 - DMA2 Stream7 global interrupt

§

USART6

71 - USART6 global interrupt

§

I2C3_EV

72 - I2C3 event interrupt

§

I2C3_ER

73 - I2C3 error interrupt

§

OTG_HS_EP1_OUT

74 - USB On The Go HS End Point 1 Out global interrupt

§

OTG_HS_EP1_IN

75 - USB On The Go HS End Point 1 In global interrupt

§

OTG_HS_WKUP

76 - USB On The Go HS Wakeup through EXTI interrupt

§

OTG_HS

77 - USB On The Go HS global interrupt

§

DCMI

78 - DCMI global interrupt

§

CRYP

79 - CRYP crypto global interrupt

§

HASH_RNG

80 - Hash and Rng global interrupt

§

FPU

81 - Floating point unit interrupt

§

UART7

82 - UART 7 global interrupt

§

UART8

83 - UART 8 global interrupt

§

SPI4

84 - SPI 4 global interrupt

§

SPI5

85 - SPI 5 global interrupt

§

SPI6

86 - SPI 6 global interrupt

§

SAI1

87 - SAI1 global interrupt

§

LCD_TFT

88 - LTDC global interrupt

§

LCD_TFT_1

89 - LTDC global error interrupt

§

DMA2D

90 - DMA2D global interrupt

Trait Implementations§

source§

impl Clone for Interrupt

source§

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
source§

impl Debug for Interrupt

source§

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

Formats the value using the given formatter. Read more
source§

impl InterruptNumber for Interrupt

source§

fn number(self) -> u16

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

impl PartialEq<Interrupt> for Interrupt

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

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

impl Copy for Interrupt

source§

impl Eq for Interrupt

source§

impl StructuralEq for Interrupt

source§

impl StructuralPartialEq for Interrupt

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

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

const: unstable · 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 Twhere
    U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

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

Performs the conversion.
source§

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

§

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

The type returned in the event of a conversion error.
const: unstable · source§

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

Performs the conversion.