Enum avr_device::attiny84::Interrupt[][src]

#[repr(u16)]
pub enum Interrupt {
Show 17 variants RESET, EXT_INT0, PCINT0, PCINT1, WDT, TIM1_CAPT, TIM1_COMPA, TIM1_COMPB, TIM1_OVF, TIM0_COMPA, TIM0_COMPB, TIM0_OVF, ANA_COMP, ADC, EE_RDY, USI_STR, USI_OVF,
}
Expand description

Enumeration of all the interrupts.

Variants

RESET

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

EXT_INT0

1 - External Interrupt Request 0

PCINT0

2 - Pin Change Interrupt Request 0

PCINT1

3 - Pin Change Interrupt Request 1

WDT

4 - Watchdog Time-out

TIM1_CAPT

5 - Timer/Counter1 Capture Event

TIM1_COMPA

6 - Timer/Counter1 Compare Match A

TIM1_COMPB

7 - Timer/Counter1 Compare Match B

TIM1_OVF

8 - Timer/Counter1 Overflow

TIM0_COMPA

9 - Timer/Counter0 Compare Match A

TIM0_COMPB

10 - Timer/Counter0 Compare Match B

TIM0_OVF

11 - Timer/Counter0 Overflow

ANA_COMP

12 - Analog Comparator

ADC

13 - ADC Conversion Complete

EE_RDY

14 - EEPROM Ready

USI_STR

15 - USI START

USI_OVF

16 - 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.