#[repr(u16)]
pub enum Interrupt {
Show 35 variants WDT, TIMER0, TIMER1, TIMER2, TIMER3, UART0, UART1, UART2, UART3, PWM1, I2C0, I2C1, I2C2, SPI, SSP0, SSP1, PLL0, RTC, EINT0, EINT1, EINT2, EINT3, ADC, BOD, USB, CAN, DMA, I2S, ENET, RIT, MCPWM, QEI, PLL1, USBACTIVITY, CANACTIVITY,
}
Expand description

Enumeration of all the interrupts.

Variants

WDT

0 - WDT

TIMER0

1 - TIMER0

TIMER1

2 - TIMER1

TIMER2

3 - TIMER2

TIMER3

4 - TIMER3

UART0

5 - UART0

UART1

6 - UART1

UART2

7 - UART2

UART3

8 - UART3

PWM1

9 - PWM1

I2C0

10 - I2C0

I2C1

11 - I2C1

I2C2

12 - I2C2

SPI

13 - SPI

SSP0

14 - SSP0

SSP1

15 - SSP1

PLL0

16 - PLL0

RTC

17 - RTC

EINT0

18 - EINT0

EINT1

19 - EINT1

EINT2

20 - EINT2

EINT3

21 - EINT3

ADC

22 - ADC

BOD

23 - BOD

USB

24 - USB

CAN

25 - CAN

DMA

26 - DMA

I2S

27 - I2S

ENET

28 - ENET

RIT

29 - RIT

MCPWM

30 - MCPWM

QEI

31 - QEI

PLL1

32 - PLL1

USBACTIVITY

33 - USBActivity

CANACTIVITY

34 - CANActivity

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.