Enum avr_device::atmega64::Interrupt[][src]

#[repr(u16)]
pub enum Interrupt {
Show variants RESET, INT0, INT1, INT2, INT3, INT4, INT5, INT6, INT7, TIMER2_COMP, TIMER2_OVF, TIMER1_CAPT, TIMER1_COMPA, TIMER1_COMPB, TIMER1_OVF, TIMER0_COMP, TIMER0_OVF, SPI_STC, USART0_RX, USART0_UDRE, USART0_TX, ADC, EE_READY, ANALOG_COMP, TIMER1_COMPC, TIMER3_CAPT, TIMER3_COMPA, TIMER3_COMPB, TIMER3_COMPC, TIMER3_OVF, USART1_RX, USART1_UDRE, USART1_TX, TWI, SPM_READY,
}
Expand description

Enumeration of all the interrupts.

Variants

RESET

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

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

TIMER2_COMP

9 - Timer/Counter2 Compare Match

TIMER2_OVF

10 - Timer/Counter2 Overflow

TIMER1_CAPT

11 - Timer/Counter1 Capture Event

TIMER1_COMPA

12 - Timer/Counter1 Compare Match A

TIMER1_COMPB

13 - Timer/Counter Compare Match B

TIMER1_OVF

14 - Timer/Counter1 Overflow

TIMER0_COMP

15 - Timer/Counter0 Compare Match

TIMER0_OVF

16 - Timer/Counter0 Overflow

SPI_STC

17 - SPI Serial Transfer Complete

USART0_RX

18 - USART0, Rx Complete

USART0_UDRE

19 - USART0 Data Register Empty

USART0_TX

20 - USART0, Tx Complete

ADC

21 - ADC Conversion Complete

EE_READY

22 - EEPROM Ready

ANALOG_COMP

23 - Analog Comparator

TIMER1_COMPC

24 - Timer/Counter1 Compare Match C

TIMER3_CAPT

25 - Timer/Counter3 Capture Event

TIMER3_COMPA

26 - Timer/Counter3 Compare Match A

TIMER3_COMPB

27 - Timer/Counter3 Compare Match B

TIMER3_COMPC

28 - Timer/Counter3 Compare Match C

TIMER3_OVF

29 - Timer/Counter3 Overflow

USART1_RX

30 - USART1, Rx Complete

USART1_UDRE

31 - USART1, Data Register Empty

USART1_TX

32 - USART1, Tx Complete

TWI

33 - 2-wire Serial Interface

SPM_READY

34 - Store Program Memory Read

Implementations

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.