Enum Interrupt

Source
pub enum Interrupt {
Show 60 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, 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, RTCALARM, USB_FS_WKUP, TIM8_BRK_TIM12, TIM8_UP_TIM13, TIM8_TRG_COM_TIM14, TIM8_CC, ADC3, FSMC, SDIO, TIM5, SPI3, UART4, UART5, TIM6, TIM7, DMA2_CHANNEL1, DMA2_CHANNEL2, DMA2_CHANNEL3, DMA2_CHANNEL4_5,
}
Expand description

Enumeration of all the interrupts

Variants§

§

WWDG

0 - Window Watchdog interrupt

§

PVD

1 - PVD through EXTI line detection interrupt

§

TAMPER

2 - Tamper interrupt

§

RTC

3 - RTC global 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

§

ADC

18 - ADC2 global interrupt

§

CAN1_TX

19 - CAN1 TX interrupts

§

CAN1_RX0

20 - CAN1 RX0 interrupts

§

CAN1_RX1

21 - CAN1 RX1 interrupt

§

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

§

RTCALARM

41 - RTC Alarms through EXTI line interrupt

§

USB_FS_WKUP

42 - USB Device 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

§

ADC3

47 - ADC3 global interrupt

§

FSMC

48 - FSMC 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

54 - TIM6 global interrupt

§

TIM7

55 - TIM7 global interrupt

§

DMA2_CHANNEL1

56 - DMA2 Channel1 global interrupt

§

DMA2_CHANNEL2

57 - DMA2 Channel2 global interrupt

§

DMA2_CHANNEL3

58 - DMA2 Channel3 global interrupt

§

DMA2_CHANNEL4_5

59 - DMA2 Channel4 and DMA2 Channel5 global 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> Same for T

Source§

type Output = T

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