[][src]Enum avr_device::atmega2560::Interrupt

#[repr(u8)]pub enum Interrupt {
    RESET,
    INT0,
    INT1,
    INT2,
    INT3,
    INT4,
    INT5,
    INT6,
    INT7,
    PCINT0,
    PCINT1,
    PCINT2,
    WDT,
    TIMER2_COMPA,
    TIMER2_COMPB,
    TIMER2_OVF,
    TIMER1_CAPT,
    TIMER1_COMPA,
    TIMER1_COMPB,
    TIMER1_COMPC,
    TIMER1_OVF,
    TIMER0_COMPA,
    TIMER0_COMPB,
    TIMER0_OVF,
    SPI_STC,
    USART0_RX,
    USART0_UDRE,
    USART0_TX,
    ANALOG_COMP,
    ADC,
    EE_READY,
    TIMER3_CAPT,
    TIMER3_COMPA,
    TIMER3_COMPB,
    TIMER3_COMPC,
    TIMER3_OVF,
    USART1_RX,
    USART1_UDRE,
    USART1_TX,
    TWI,
    SPM_READY,
    TIMER4_CAPT,
    TIMER4_COMPA,
    TIMER4_COMPB,
    TIMER4_COMPC,
    TIMER4_OVF,
    TIMER5_CAPT,
    TIMER5_COMPA,
    TIMER5_COMPB,
    TIMER5_COMPC,
    TIMER5_OVF,
    USART2_RX,
    USART2_UDRE,
    USART2_TX,
    USART3_RX,
    USART3_UDRE,
    USART3_TX,
}

Enumeration of all the interrupts

Variants

RESET

0 - External Pin,Power-on Reset,Brown-out Reset,Watchdog Reset,and JTAG AVR Reset. See Datasheet.

INT0

1 - External Interrupt Request 0

INT1

2 - External Interrupt Request 1

INT2

3 - External Interrupt Request 2

INT3

4 - External Interrupt Request 3

INT4

5 - External Interrupt Request 4

INT5

6 - External Interrupt Request 5

INT6

7 - External Interrupt Request 6

INT7

8 - External Interrupt Request 7

PCINT0

9 - Pin Change Interrupt Request 0

PCINT1

10 - Pin Change Interrupt Request 1

PCINT2

11 - Pin Change Interrupt Request 2

WDT

12 - Watchdog Time-out Interrupt

TIMER2_COMPA

13 - Timer/Counter2 Compare Match A

TIMER2_COMPB

14 - Timer/Counter2 Compare Match B

TIMER2_OVF

15 - Timer/Counter2 Overflow

TIMER1_CAPT

16 - Timer/Counter1 Capture Event

TIMER1_COMPA

17 - Timer/Counter1 Compare Match A

TIMER1_COMPB

18 - Timer/Counter1 Compare Match B

TIMER1_COMPC

19 - Timer/Counter1 Compare Match C

TIMER1_OVF

20 - Timer/Counter1 Overflow

TIMER0_COMPA

21 - Timer/Counter0 Compare Match A

TIMER0_COMPB

22 - Timer/Counter0 Compare Match B

TIMER0_OVF

23 - Timer/Counter0 Overflow

SPI_STC

24 - SPI Serial Transfer Complete

USART0_RX

25 - USART0, Rx Complete

USART0_UDRE

26 - USART0 Data register Empty

USART0_TX

27 - USART0, Tx Complete

ANALOG_COMP

28 - Analog Comparator

ADC

29 - ADC Conversion Complete

EE_READY

30 - EEPROM Ready

TIMER3_CAPT

31 - Timer/Counter3 Capture Event

TIMER3_COMPA

32 - Timer/Counter3 Compare Match A

TIMER3_COMPB

33 - Timer/Counter3 Compare Match B

TIMER3_COMPC

34 - Timer/Counter3 Compare Match C

TIMER3_OVF

35 - Timer/Counter3 Overflow

USART1_RX

36 - USART1, Rx Complete

USART1_UDRE

37 - USART1 Data register Empty

USART1_TX

38 - USART1, Tx Complete

TWI

39 - 2-wire Serial Interface

SPM_READY

40 - Store Program Memory Read

TIMER4_CAPT

41 - Timer/Counter4 Capture Event

TIMER4_COMPA

42 - Timer/Counter4 Compare Match A

TIMER4_COMPB

43 - Timer/Counter4 Compare Match B

TIMER4_COMPC

44 - Timer/Counter4 Compare Match C

TIMER4_OVF

45 - Timer/Counter4 Overflow

TIMER5_CAPT

46 - Timer/Counter5 Capture Event

TIMER5_COMPA

47 - Timer/Counter5 Compare Match A

TIMER5_COMPB

48 - Timer/Counter5 Compare Match B

TIMER5_COMPC

49 - Timer/Counter5 Compare Match C

TIMER5_OVF

50 - Timer/Counter5 Overflow

USART2_RX

51 - USART2, Rx Complete

USART2_UDRE

52 - USART2 Data register Empty

USART2_TX

53 - USART2, Tx Complete

USART3_RX

54 - USART3, Rx Complete

USART3_UDRE

55 - USART3 Data register Empty

USART3_TX

56 - USART3, Tx Complete

Implementations

impl Interrupt[src]

pub fn try_from(value: u8) -> Result<Self, TryFromInterruptError>[src]

Trait Implementations

impl Clone for Interrupt[src]

impl Copy for Interrupt[src]

impl Debug for Interrupt[src]

impl Eq for Interrupt[src]

impl Nr for Interrupt[src]

impl PartialEq<Interrupt> for Interrupt[src]

impl StructuralEq for Interrupt[src]

impl StructuralPartialEq 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.