Enum gd32f1::gd32f130::Interrupt[][src]

#[repr(u16)]
pub enum Interrupt {
Show 35 variants WWDGT, LVD, RTC, FMC, RCU, EXTI0_1, EXTI2_3, EXTI4_15, TSI, DMA_CHANNEL0, DMA_CHANNEL1_2, DMA_CHANNEL3_4, ADC_CMP, TIMER0_BRK_UP_TRG_COM, TIMER0_CC, TIMER1, TIMER2, TIMER5_DAC, TIMER13, TIMER14, TIMER15, TIMER16, I2C0_EV, I2C1_EV, SPI0, SPI1, USART0, USART1, CEC, I2C0_ER, I2C1_ER, I2C2_EV, I2C2_ER, DMA_CHANNEL5_6, SPI2,
}
Expand description

Enumeration of all the interrupts.

Variants

WWDGT

0 - WWDGT

LVD

1 - LVD

RTC

2 - RTC

FMC

3 - FMC

RCU

4 - RCU

EXTI0_1

5 - EXTI0_1

EXTI2_3

6 - EXTI2_3

EXTI4_15

7 - EXTI4_15

TSI

8 - TSI

DMA_CHANNEL0

9 - DMA_Channel0

DMA_CHANNEL1_2

10 - DMA_Channel1_2

DMA_CHANNEL3_4

11 - DMA_Channel3_4

ADC_CMP

12 - ADC_CMP

TIMER0_BRK_UP_TRG_COM

13 - TIMER0_BRK_UP_TRG_COM

TIMER0_CC

14 - TIMER0_CC

TIMER1

15 - TIMER1

TIMER2

16 - TIMER2

TIMER5_DAC

17 - TIMER5_DAC

TIMER13

19 - TIMER13

TIMER14

20 - TIMER14

TIMER15

21 - TIMER15

TIMER16

22 - TIMER16

I2C0_EV

23 - I2C0_EV

I2C1_EV

24 - I2C1_EV

SPI0

25 - SPI0

SPI1

26 - SPI1

USART0

27 - USART0

USART1

28 - USART1

CEC

30 - CEC

I2C0_ER

32 - I2C0_ER

I2C1_ER

34 - I2C1_ER

I2C2_EV

35 - I2C2_EV

I2C2_ER

36 - I2C2_ER

DMA_CHANNEL5_6

48 - DMA_Channel5_6

SPI2

51 - SPI2

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Return the interrupt number associated with this variant. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

Performs the conversion.

Performs the conversion.

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.