Enum stm32g0xx_hal::interrupt[][src]

#[repr(u8)]pub enum interrupt {
    WWDG,
    PVD,
    RTC_STAMP,
    FLASH,
    RCC,
    EXTI0_1,
    EXTI2_3,
    EXTI4_15,
    UCPD1_UCPD2,
    DMA_CHANNEL1,
    DMA_CHANNEL2_3,
    DMA_CHANNEL4_5_6_7,
    ADC_COMP,
    TIM1_BRK_UP_TRG_COM,
    TIM1_CC,
    TIM2,
    TIM3,
    TIM6_DAC_LPTIM1,
    TIM7_LPTIM2,
    TIM14,
    TIM15,
    TIM16,
    TIM17,
    I2C1,
    I2C2,
    SPI1,
    SPI2,
    USART1,
    USART2,
    USART3_USART4_LPUART1,
    CEC,
    AES_RNG,
}

Enumeration of all the interrupts

Variants

WWDG

0 - Window watchdog interrupt

PVD

1 - Power voltage detector interrupt

RTC_STAMP

2 - RTC and TAMP interrupts

FLASH

3 - Flash global interrupt

RCC

4 - RCC global interrupt

EXTI0_1

5 - EXTI line 0 & 1 interrupt

EXTI2_3

6 - EXTI line 2 & 3 interrupt

EXTI4_15

7 - EXTI line 4 to 15 interrupt

UCPD1_UCPD2

8 - UCPD global interrupt

DMA_CHANNEL1

9 - DMA channel 1 interrupt

DMA_CHANNEL2_3

10 - DMA channel 2 & 3 interrupts

DMA_CHANNEL4_5_6_7

11 - DMA channel 4, 5, 6 & 7 and DMAMUX

ADC_COMP

12 - ADC and COMP interrupts

TIM1_BRK_UP_TRG_COM

13 - IM1 break, update, trigger and commutation interrupts

TIM1_CC

14 - TIM1 Capture Compare interrupt

TIM2

15 - TIM2 global interrupt

TIM3

16 - TIM3 global interrupt

TIM6_DAC_LPTIM1

17 - TIM6 + LPTIM1 and DAC global interrupt

TIM7_LPTIM2

18 - TIM7 + LPTIM2 global interrupt

TIM14

19 - TIM14 global interrupt

TIM15

20 - TIM15 global interrupt

TIM16

21 - TIM16 global interrupt

TIM17

22 - TIM17 global interrupt

I2C1

23 - I2C1 global interrupt

I2C2

24 - I2C2 global interrupt

SPI1

25 - SPI1 global interrupt

SPI2

26 - SPI2 global interrupt

USART1

27 - USART1 global interrupt

USART2

28 - USART2 global interrupt

USART3_USART4_LPUART1

29 - USART3 + USART4 + LPUART1

CEC

30 - CEC global interrupt

AES_RNG

31 - AES and RNG global interrupts

Trait Implementations

impl Clone for Interrupt[src]

impl Copy for Interrupt[src]

impl Debug for Interrupt[src]

impl Nr for Interrupt[src]

Auto Trait Implementations

impl Send for Interrupt

impl Sync for Interrupt

impl Unpin for Interrupt

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> InterruptNumber for T where
    T: Copy + Nr
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.