Enum Interrupt

Source
#[repr(u16)]
pub enum Interrupt {
Show 94 variants PVD = 1, TAMP_STAMP = 2, RTC_WKUP = 3, FLASH = 4, RCC = 5, EXTI0 = 6, EXTI1 = 7, EXTI2 = 8, EXTI3 = 9, EXTI4 = 10, DMA1_Stream0 = 11, DMA1_Stream1 = 12, DMA1_Stream2 = 13, DMA1_Stream3 = 14, DMA1_Stream4 = 15, DMA1_Stream5 = 16, DMA1_Stream6 = 17, ADC = 18, CAN1_TX = 19, CAN1_RX0 = 20, CAN1_RX1 = 21, CAN1_SCE = 22, EXTI9_5 = 23, TIM1_BRK_TIM9 = 24, TIM1_UP_TIM10 = 25, TIM1_TRG_COM_TIM11 = 26, TIM1_CC = 27, TIM2 = 28, TIM3 = 29, TIM4 = 30, I2C1_EVT = 31, I2C1_ERR = 32, I2C2_EVT = 33, I2C2_ERR = 34, SPI1 = 35, SPI2 = 36, USART1 = 37, USART2 = 38, USART3 = 39, EXTI15_10 = 40, EXTI17_RTC_Alarm = 41, TIM8_BRK_TIM12 = 43, TIM8_UP_TIM13 = 44, TIM8_TRG_COM_TIM14 = 45, TIM8_CC = 46, DMA1_Stream7 = 47, FSMC = 48, SDIO = 49, TIM5 = 50, SPI3 = 51, USART4 = 52, UART5 = 53, TIM6_GLB_IT_DAC1_DAC2 = 54, TIM7 = 55, DMA2_Stream0 = 56, DMA2_Stream1 = 57, DMA2_Stream2 = 58, DMA2_Stream3 = 59, DMA2_Stream4 = 60, DFSDM1_FLT0 = 61, DFSDM1_FLT1 = 62, CAN2_TX = 63, CAN2_RX0 = 64, CAN2_RX1 = 65, CAN2_SCE = 66, OTG_FS = 67, DMA2_Stream5 = 68, DMA2_Stream6 = 69, DMA2_Stream7 = 70, USART6 = 71, I2C3_EV = 72, I2C3_ER = 73, CAN3_TX = 74, CAN3_RX0 = 75, CAN3_RX1 = 76, CAN3_SCE = 77, CRYPTO = 79, RNG = 80, FPU = 81, USART7 = 82, USART8 = 83, SPI4 = 84, SPI5 = 85, SAI1 = 87, UART9 = 88, UART10 = 89, QuadSPI = 92, I2CFMP1event = 95, I2CFMP1error = 96, lptim1_OR_it_eit_23 = 97, DFSDM2_FILTER1 = 98, DFSDM2_FILTER2 = 99, DFSDM2_FILTER3 = 100, DFSDM2_FILTER4 = 101,
}
Expand description

Available interrupts for this device

Variants§

§

PVD = 1

1: PVD through EXTI line detection interrupt

§

TAMP_STAMP = 2

2: Tamper and TimeStamp interrupts through the EXTI line

§

RTC_WKUP = 3

3: RTC Wakeup interrupt through the EXTI line

§

FLASH = 4

4: FLASH global interrupt

§

RCC = 5

5: RCC global interrupt

§

EXTI0 = 6

6: EXTI Line0 interrupt

§

EXTI1 = 7

7: EXTI Line1 interrupt

§

EXTI2 = 8

8: EXTI Line2 interrupt

§

EXTI3 = 9

9: EXTI Line3 interrupt

§

EXTI4 = 10

10: EXTI Line4 interrupt

§

DMA1_Stream0 = 11

11: DMA1 Stream0 global interrupt

§

DMA1_Stream1 = 12

12: DMA1 Stream1 global interrupt

§

DMA1_Stream2 = 13

13: DMA1 Stream2 global interrupt

§

DMA1_Stream3 = 14

14: DMA1 Stream3 global interrupt

§

DMA1_Stream4 = 15

15: DMA1 Stream4 global interrupt

§

DMA1_Stream5 = 16

16: DMA1 Stream5 global interrupt

§

DMA1_Stream6 = 17

17: DMA1 Stream6 global interrupt

§

ADC = 18

18: ADC1 global interrupt

§

CAN1_TX = 19

19: CAN1 TX interrupts

§

CAN1_RX0 = 20

20: CAN1 RX0 interrupts

§

CAN1_RX1 = 21

21: CAN1 RX1 interrupts

§

CAN1_SCE = 22

22: CAN1 SCE interrupt

§

EXTI9_5 = 23

23: EXTI Line[9:5] interrupts

§

TIM1_BRK_TIM9 = 24

24: TIM1 Break interrupt and TIM9 global interrupt

§

TIM1_UP_TIM10 = 25

25: TIM1 Update interrupt and TIM10 global interrupt

§

TIM1_TRG_COM_TIM11 = 26

26: TIM1 Trigger and Commutation interrupts and TIM11 global interrupt

§

TIM1_CC = 27

27: TIM1 Capture Compare interrupt

§

TIM2 = 28

28: TIM2 global interrupt

§

TIM3 = 29

29: TIM3 global interrupt

§

TIM4 = 30

30: TIM4 global interrupt

§

I2C1_EVT = 31

31: I2C1 event interrupt

§

I2C1_ERR = 32

32: I2C1 error interrupt

§

I2C2_EVT = 33

33: I2C2 event interrupt

§

I2C2_ERR = 34

34: I2C2 error interrupt

§

SPI1 = 35

35: SPI1 global interrupt

§

SPI2 = 36

36: SPI2 global interrupt

§

USART1 = 37

37: USART1 global interrupt

§

USART2 = 38

38: USART2 global interrupt

§

USART3 = 39

39: USART3 global interrupt

§

EXTI15_10 = 40

40: EXTI Line[15:10] interrupts

§

EXTI17_RTC_Alarm = 41

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

§

TIM8_BRK_TIM12 = 43

43: Timer 12 global interrupt

§

TIM8_UP_TIM13 = 44

44: Timer 13 global interrupt

§

TIM8_TRG_COM_TIM14 = 45

45: Timer 14 global interrupt

§

TIM8_CC = 46

46: TIM8 Cap/Com interrupt

§

DMA1_Stream7 = 47

47: DMA1 global interrupt Channel 7

§

FSMC = 48

48: FSMC global interrupt

§

SDIO = 49

49: SDIO global interrupt

§

TIM5 = 50

50: TIM5 global interrupt

§

SPI3 = 51

51: SPI3 global interrupt

§

USART4 = 52

52: UART 4 global interrupt

§

UART5 = 53

53: UART 5global interrupt

§

TIM6_GLB_IT_DAC1_DAC2 = 54

54: TIM6 global and DAC12 underrun interrupts

§

TIM7 = 55

55: TIM7 global interrupt

§

DMA2_Stream0 = 56

56: DMA2 Stream0 global interrupt

§

DMA2_Stream1 = 57

57: DMA2 Stream1 global interrupt

§

DMA2_Stream2 = 58

58: DMA2 Stream2 global interrupt

§

DMA2_Stream3 = 59

59: DMA2 Stream3 global interrupt

§

DMA2_Stream4 = 60

60: DMA2 Stream4 global interrupt

§

DFSDM1_FLT0 = 61

61: SD filter0 global interrupt

§

DFSDM1_FLT1 = 62

62: SD filter1 global interrupt

§

CAN2_TX = 63

63: CAN2 TX interrupt

§

CAN2_RX0 = 64

64: BXCAN2 RX0 interrupt

§

CAN2_RX1 = 65

65: BXCAN2 RX1 interrupt

§

CAN2_SCE = 66

66: CAN2 SCE interrupt

§

OTG_FS = 67

67: USB OTG FS Interrupt

§

DMA2_Stream5 = 68

68: DMA2 Stream5 global interrupt

§

DMA2_Stream6 = 69

69: DMA2 Stream6 global interrupt

§

DMA2_Stream7 = 70

70: DMA2 Stream7 global interrupt

§

USART6 = 71

71: USART6 global interrupt

§

I2C3_EV = 72

72: I2C3 event interrupt

§

I2C3_ER = 73

73: I2C3 error interrupt

§

CAN3_TX = 74

74: CAN 3 TX interrupt

§

CAN3_RX0 = 75

75: BxCAN 3 RX0 interrupt

§

CAN3_RX1 = 76

76: BxCAN 3 RX1 interrupt

§

CAN3_SCE = 77

77: CAN 3 SCE interrupt

§

CRYPTO = 79

79: AES global interrupt

§

RNG = 80

80: Rng global interrupt

§

FPU = 81

81: FPU global interrupt

§

USART7 = 82

82: USART7 global interrupt

§

USART8 = 83

83: USART8 global interrupt

§

SPI4 = 84

84: SPI4 global interrupt

§

SPI5 = 85

85: SPI5 global interrupt

§

SAI1 = 87

87: SAI1 global interrupt

§

UART9 = 88

88: UART9 global interrupt

§

UART10 = 89

89: UART10 global interrupt

§

QuadSPI = 92

92: Quad-SPI global interrupt

§

I2CFMP1event = 95

95: I2CFMP1 event interrupt

§

I2CFMP1error = 96

96: I2CFMP1 error interrupt

§

lptim1_OR_it_eit_23 = 97

97: LP Timer global interrupt or EXT1 interrupt line 23

§

DFSDM2_FILTER1 = 98

98: DFSDM2 SD filter 1 global interrupt

§

DFSDM2_FILTER2 = 99

99: DFSDM2 SD filter 2 global interrupt

§

DFSDM2_FILTER3 = 100

100: DFSDM2 SD filter 3 global interrupt

§

DFSDM2_FILTER4 = 101

101: DFSDM2 SD filter 4 global interrupt

Trait Implementations§

Source§

impl Clone for Interrupt

Source§

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

impl Debug for Interrupt

Source§

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

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 for Interrupt

Source§

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.
Source§

impl Copy for Interrupt

Source§

impl Eq for Interrupt

Source§

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.