#[repr(u16)]
pub enum Interrupt {
Show 22 variants RTC, PORT2, TIMER2_A1, TIMER2_A0, USCI_B1, USCI_A1, PORT1, TIMER1_A1, TIMER1_A0, DMA, USB_UBM, TIMER0_A1, TIMER0_A0, ADC12, USCI_B0, USCI_A0, WDT, TIMER0_B1, TIMER0_B0, COMP_B, UNMI, SYSNMI,
}
Expand description

Enumeration of all the interrupts. This enum is seldom used in application or library crates. It is present primarily for documenting the device’s implemented interrupts.

Variants

RTC

41 - 0xFFD2 RTC

PORT2

42 - 0xFFD4 Port 2

TIMER2_A1

43 - 0xFFD6 Timer2_A5 CC1-4, TA

TIMER2_A0

44 - 0xFFD8 Timer2_A5 CC0

USCI_B1

45 - 0xFFDA USCI B1 Receive/Transmit

USCI_A1

46 - 0xFFDC USCI A1 Receive/Transmit

PORT1

47 - 0xFFDE Port 1

TIMER1_A1

48 - 0xFFE0 Timer1_A3 CC1-2, TA1

TIMER1_A0

49 - 0xFFE2 Timer1_A3 CC0

DMA

50 - 0xFFE4 DMA

USB_UBM

51 - 0xFFE6 USB Timer / cable event / USB reset

TIMER0_A1

52 - 0xFFE8 Timer0_A5 CC1-4, TA

TIMER0_A0

53 - 0xFFEA Timer0_A5 CC0

ADC12

54 - 0xFFEC ADC

USCI_B0

55 - 0xFFEE USCI B0 Receive/Transmit

USCI_A0

56 - 0xFFF0 USCI A0 Receive/Transmit

WDT

57 - 0xFFF2 Watchdog Timer

TIMER0_B1

58 - 0xFFF4 Timer0_B7 CC1-6, TB

TIMER0_B0

59 - 0xFFF6 Timer0_B7 CC0

COMP_B

60 - 0xFFF8 Comparator B

UNMI

61 - 0xFFFA User Non-maskable

SYSNMI

62 - 0xFFFC System Non-maskable

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

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.