Enum avr_device::attiny861::Interrupt[][src]

#[repr(u16)]
pub enum Interrupt {
Show 19 variants RESET, INT0, PCINT, TIMER1_COMPA, TIMER1_COMPB, TIMER1_OVF, TIMER0_OVF, USI_START, USI_OVF, EE_RDY, ANA_COMP, ADC, WDT, INT1, TIMER0_COMPA, TIMER0_COMPB, TIMER0_CAPT, TIMER1_COMPD, FAULT_PROTECTION,
}
Expand description

Enumeration of all the interrupts.

Variants

RESET

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

INT0

1 - External Interrupt 0

PCINT

2 - Pin Change Interrupt

TIMER1_COMPA

3 - Timer/Counter1 Compare Match 1A

TIMER1_COMPB

4 - Timer/Counter1 Compare Match 1B

TIMER1_OVF

5 - Timer/Counter1 Overflow

TIMER0_OVF

6 - Timer/Counter0 Overflow

USI_START

7 - USI Start

USI_OVF

8 - USI Overflow

EE_RDY

9 - EEPROM Ready

ANA_COMP

10 - Analog Comparator

ADC

11 - ADC Conversion Complete

WDT

12 - Watchdog Time-Out

INT1

13 - External Interrupt 1

TIMER0_COMPA

14 - Timer/Counter0 Compare Match A

TIMER0_COMPB

15 - Timer/Counter0 Compare Match B

TIMER0_CAPT

16 - ADC Conversion Complete

TIMER1_COMPD

17 - Timer/Counter1 Compare Match D

FAULT_PROTECTION

18 - Timer/Counter1 Fault Protection

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.