Enum avr_device::attiny85::Interrupt[][src]

#[repr(u16)]
pub enum Interrupt {
Show 15 variants RESET, INT0, PCINT0, TIMER1_COMPA, TIMER1_OVF, TIMER0_OVF, EE_RDY, ANA_COMP, ADC, TIMER1_COMPB, TIMER0_COMPA, TIMER0_COMPB, WDT, USI_START, USI_OVF,
}
Expand description

Enumeration of all the interrupts.

Variants

RESET

0 - External Pin, Power-on Reset, Brown-out Reset,Watchdog Reset

INT0

1 - External Interrupt 0

PCINT0

2 - Pin change Interrupt Request 0

TIMER1_COMPA

3 - Timer/Counter1 Compare Match 1A

TIMER1_OVF

4 - Timer/Counter1 Overflow

TIMER0_OVF

5 - Timer/Counter0 Overflow

EE_RDY

6 - EEPROM Ready

ANA_COMP

7 - Analog comparator

ADC

8 - ADC Conversion ready

TIMER1_COMPB

9 - Timer/Counter1 Compare Match B

TIMER0_COMPA

10 - Timer/Counter0 Compare Match A

TIMER0_COMPB

11 - Timer/Counter0 Compare Match B

WDT

12 - Watchdog Time-out

USI_START

13 - USI START

USI_OVF

14 - USI 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.