Enum Interrupt

Source
#[repr(u8)]
pub enum Interrupt {
Show 78 variants GPIOA = 0, GPIOB = 1, GPIOC = 2, GPIOD = 3, GPIOE = 4, UART0 = 5, UART1 = 6, SSI0 = 7, I2C0 = 8, PWM0_FAULT = 9, PWM0_0 = 10, PWM0_1 = 11, PWM0_2 = 12, QEI0 = 13, ADC0SS0 = 14, ADC0SS1 = 15, ADC0SS2 = 16, ADC0SS3 = 17, WATCHDOG = 18, TIMER0A = 19, TIMER0B = 20, TIMER1A = 21, TIMER1B = 22, TIMER2A = 23, TIMER2B = 24, COMP0 = 25, COMP1 = 26, SYSCTL = 28, FLASH = 29, GPIOF = 30, UART2 = 33, SSI1 = 34, TIMER3A = 35, TIMER3B = 36, I2C1 = 37, QEI1 = 38, CAN0 = 39, CAN1 = 40, HIBERNATE = 43, USB0 = 44, PWM0_3 = 45, UDMA = 46, UDMAERR = 47, ADC1SS0 = 48, ADC1SS1 = 49, ADC1SS2 = 50, ADC1SS3 = 51, SSI2 = 57, SSI3 = 58, UART3 = 59, UART4 = 60, UART5 = 61, UART6 = 62, UART7 = 63, I2C2 = 68, I2C3 = 69, TIMER4A = 70, TIMER4B = 71, TIMER5A = 92, TIMER5B = 93, WTIMER0A = 94, WTIMER0B = 95, WTIMER1A = 96, WTIMER1B = 97, WTIMER2A = 98, WTIMER2B = 99, WTIMER3A = 100, WTIMER3B = 101, WTIMER4A = 102, WTIMER4B = 103, WTIMER5A = 104, WTIMER5B = 105, SYSEXC = 106, PWM1_0 = 134, PWM1_1 = 135, PWM1_2 = 136, PWM1_3 = 137, PWM1_FAULT = 138,
}
Expand description

Enumeration of all the interrupts

Variants§

§

GPIOA = 0

0 - GPIO Port A

§

GPIOB = 1

1 - GPIO Port B

§

GPIOC = 2

2 - GPIO Port C

§

GPIOD = 3

3 - GPIO Port D

§

GPIOE = 4

4 - GPIO Port E

§

UART0 = 5

5 - UART0

§

UART1 = 6

6 - UART1

§

SSI0 = 7

7 - SSI0

§

I2C0 = 8

8 - I2C0

§

PWM0_FAULT = 9

9 - PWM0 Fault

§

PWM0_0 = 10

10 - PWM0 Generator 0

§

PWM0_1 = 11

11 - PWM0 Generator 1

§

PWM0_2 = 12

12 - PWM0 Generator 2

§

QEI0 = 13

13 - QEI0

§

ADC0SS0 = 14

14 - ADC0 Sequence 0

§

ADC0SS1 = 15

15 - ADC0 Sequence 1

§

ADC0SS2 = 16

16 - ADC0 Sequence 2

§

ADC0SS3 = 17

17 - ADC0 Sequence 3

§

WATCHDOG = 18

18 - Watchdog Timers 0 and 1

§

TIMER0A = 19

19 - 16/32-Bit Timer 0A

§

TIMER0B = 20

20 - 16/32-Bit Timer 0B

§

TIMER1A = 21

21 - 16/32-Bit Timer 1A

§

TIMER1B = 22

22 - 16/32-Bit Timer 1B

§

TIMER2A = 23

23 - 16/32-Bit Timer 2A

§

TIMER2B = 24

24 - 16/32-Bit Timer 2B

§

COMP0 = 25

25 - Analog Comparator 0

§

COMP1 = 26

26 - Analog Comparator 1

§

SYSCTL = 28

28 - System Control

§

FLASH = 29

29 - Flash Memory Control and EEPROM Control

§

GPIOF = 30

30 - GPIO Port F

§

UART2 = 33

33 - UART2

§

SSI1 = 34

34 - SSI1

§

TIMER3A = 35

35 - Timer 3A

§

TIMER3B = 36

36 - Timer 3B

§

I2C1 = 37

37 - I2C1

§

QEI1 = 38

38 - QEI1

§

CAN0 = 39

39 - CAN0

§

CAN1 = 40

40 - CAN1

§

HIBERNATE = 43

43 - Hibernation Module

§

USB0 = 44

44 - USB

§

PWM0_3 = 45

45 - PWM Generator 3

§

UDMA = 46

46 - uDMA Software

§

UDMAERR = 47

47 - uDMA Error

§

ADC1SS0 = 48

48 - ADC1 Sequence 0

§

ADC1SS1 = 49

49 - ADC1 Sequence 1

§

ADC1SS2 = 50

50 - ADC1 Sequence 2

§

ADC1SS3 = 51

51 - ADC1 Sequence 3

§

SSI2 = 57

57 - SSI2

§

SSI3 = 58

58 - SSI3

§

UART3 = 59

59 - UART3

§

UART4 = 60

60 - UART4

§

UART5 = 61

61 - UART5

§

UART6 = 62

62 - UART6

§

UART7 = 63

63 - UART7

§

I2C2 = 68

68 - I2C2

§

I2C3 = 69

69 - I2C3

§

TIMER4A = 70

70 - 16/32-Bit Timer 4A

§

TIMER4B = 71

71 - 16/32-Bit Timer 4B

§

TIMER5A = 92

92 - 16/32-Bit Timer 5A

§

TIMER5B = 93

93 - 16/32-Bit Timer 5B

§

WTIMER0A = 94

94 - 32/64-Bit Timer 0A

§

WTIMER0B = 95

95 - 32/64-Bit Timer 0B

§

WTIMER1A = 96

96 - 32/64-Bit Timer 1A

§

WTIMER1B = 97

97 - 32/64-Bit Timer 1B

§

WTIMER2A = 98

98 - 32/64-Bit Timer 2A

§

WTIMER2B = 99

99 - 32/64-Bit Timer 2B

§

WTIMER3A = 100

100 - 32/64-Bit Timer 3A

§

WTIMER3B = 101

101 - 32/64-Bit Timer 3B

§

WTIMER4A = 102

102 - 32/64-Bit Timer 4A

§

WTIMER4B = 103

103 - 32/64-Bit Timer 4B

§

WTIMER5A = 104

104 - 32/64-Bit Timer 5A

§

WTIMER5B = 105

105 - 32/64-Bit Timer 5B

§

SYSEXC = 106

106 - System Exception (imprecise)

§

PWM1_0 = 134

134 - PWM1 Generator 0

§

PWM1_1 = 135

135 - PWM1 Generator 1

§

PWM1_2 = 136

136 - PWM1 Generator 2

§

PWM1_3 = 137

137 - PWM1 Generator 3

§

PWM1_FAULT = 138

138 - PWM1 Fault

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 Copy 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.