Enum avr_device::atmega32u4::Interrupt[][src]

#[repr(u16)]
pub enum Interrupt {
Show 43 variants RESET, INT0, INT1, INT2, INT3, RESERVED1, RESERVED2, INT6, RESERVED3, PCINT0, USB_GEN, USB_COM, WDT, RESERVED4, RESERVED5, RESERVED6, TIMER1_CAPT, TIMER1_COMPA, TIMER1_COMPB, TIMER1_COMPC, TIMER1_OVF, TIMER0_COMPA, TIMER0_COMPB, TIMER0_OVF, SPI_STC, USART1_RX, USART1_UDRE, USART1_TX, ANALOG_COMP, ADC, EE_READY, TIMER3_CAPT, TIMER3_COMPA, TIMER3_COMPB, TIMER3_COMPC, TIMER3_OVF, TWI, SPM_READY, TIMER4_COMPA, TIMER4_COMPB, TIMER4_COMPD, TIMER4_OVF, TIMER4_FPF,
}
Expand description

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

RESERVED1

5 - Reserved1

RESERVED2

6 - Reserved2

INT6

7 - External Interrupt Request 6

RESERVED3

8 - Reserved3

PCINT0

9 - Pin Change Interrupt Request 0

USB_GEN

10 - USB General Interrupt Request

USB_COM

11 - USB Endpoint/Pipe Interrupt Communication Request

WDT

12 - Watchdog Time-out Interrupt

RESERVED4

13 - Reserved4

RESERVED5

14 - Reserved5

RESERVED6

15 - Reserved6

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

USART1_RX

25 - USART1, Rx Complete

USART1_UDRE

26 - USART1 Data register Empty

USART1_TX

27 - USART1, 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

TWI

36 - 2-wire Serial Interface

SPM_READY

37 - Store Program Memory Read

TIMER4_COMPA

38 - Timer/Counter4 Compare Match A

TIMER4_COMPB

39 - Timer/Counter4 Compare Match B

TIMER4_COMPD

40 - Timer/Counter4 Compare Match D

TIMER4_OVF

41 - Timer/Counter4 Overflow

TIMER4_FPF

42 - Timer/Counter4 Fault Protection Interrupt

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.