[][src]Enum msp430g2553::Interrupt

#[repr(u8)]
pub enum Interrupt {
    TRAPINT,
    PORT1,
    PORT2,
    ADC10,
    USCIAB0TX,
    USCIAB0RX,
    TIMER0_A1,
    TIMER0_A0,
    WDT,
    COMPARATORA,
    TIMER1_A1,
    TIMER1_A0,
    NMI,
}

Enumeration of all the interrupts

Variants

TRAPINT

0 - 0xFFE0 TRAPINT

PORT1

2 - 0xFFE4 Port 1

PORT2

3 - 0xFFE6 Port 2

ADC10

5 - 0xFFEA ADC10

USCIAB0TX

6 - 0xFFEC USCI A0/B0 Transmit

USCIAB0RX

7 - 0xFFEE USCI A0/B0 Receive

TIMER0_A1

8 - 0xFFF0 Timer0)A CC1, TA0

TIMER0_A0

9 - 0xFFF2 Timer0_A CC0

WDT

10 - 0xFFF4 Watchdog Timer

COMPARATORA

11 - 0xFFF6 Comparator A

TIMER1_A1

12 - 0xFFF8 Timer1_A CC1-4, TA1

TIMER1_A0

13 - 0xFFFA Timer1_A CC0

NMI

14 - 0xFFFC Non-maskable

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