Enum avr_device::attiny2313::Interrupt[][src]

#[repr(u16)]
pub enum Interrupt {
Show 19 variants RESET, INT0, INT1, TIMER1_CAPT, TIMER1_COMPA, TIMER1_OVF, TIMER0_OVF, USART_RX, USART_UDRE, USART_TX, ANA_COMP, PCINT, TIMER1_COMPB, TIMER0_COMPA, TIMER0_COMPB, USI_START, USI_OVERFLOW, EEPROM_READY, WDT_OVERFLOW,
}
Expand description

Enumeration of all the interrupts.

Variants

RESET

0 - External Reset, Power-on Reset and Watchdog Reset

INT0

1 - External Interrupt Request 0

INT1

2 - External Interrupt Request 1

TIMER1_CAPT

3 - Timer/Counter1 Capture Event

TIMER1_COMPA

4 - Timer/Counter1 Compare Match A

TIMER1_OVF

5 - Timer/Counter1 Overflow

TIMER0_OVF

6 - Timer/Counter0 Overflow

USART_RX

7 - USART, Rx Complete

USART_UDRE

8 - USART Data Register Empty

USART_TX

9 - USART, Tx Complete

ANA_COMP

10 - Analog Comparator

PCINT

11 - No Description.

TIMER1_COMPB

12 - No Description.

TIMER0_COMPA

13 - No Description.

TIMER0_COMPB

14 - No Description.

USI_START

15 - USI Start Condition

USI_OVERFLOW

16 - USI Overflow

EEPROM_READY

17 - No Description.

WDT_OVERFLOW

18 - Watchdog Timer Overflow

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.