[][src]Enum avr_device::attiny88::Interrupt

#[repr(u8)]pub enum Interrupt {
    RESET,
    INT0,
    INT1,
    PCINT0,
    PCINT1,
    PCINT2,
    PCINT3,
    WDT,
    TIMER1_CAPT,
    TIMER1_COMPA,
    TIMER1_COMPB,
    TIMER1_OVF,
    TIMER0_COMPA,
    TIMER0_COMPB,
    TIMER0_OVF,
    SPI_STC,
    ADC,
    EE_RDY,
    ANALOG_COMP,
    TWI,
}

Enumeration of all the interrupts

Variants

RESET

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

INT0

1 - External Interrupt Request 0

INT1

2 - External Interrupt Request 1

PCINT0

3 - Pin Change Interrupt Request 0

PCINT1

4 - Pin Change Interrupt Request 1

PCINT2

5 - Pin Change Interrupt Request 2

PCINT3

6 - Pin Change Interrupt Request 3

WDT

7 - Watchdog Time-out Interrupt

TIMER1_CAPT

8 - Timer/Counter1 Capture Event

TIMER1_COMPA

9 - Timer/Counter1 Compare Match A

TIMER1_COMPB

10 - Timer/Counter1 Compare Match B

TIMER1_OVF

11 - Timer/Counter1 Overflow

TIMER0_COMPA

12 - TimerCounter0 Compare Match A

TIMER0_COMPB

13 - TimerCounter0 Compare Match B

TIMER0_OVF

14 - Timer/Couner0 Overflow

SPI_STC

15 - SPI Serial Transfer Complete

ADC

16 - ADC Conversion Complete

EE_RDY

17 - EEPROM Ready

ANALOG_COMP

18 - Analog Comparator

TWI

19 - Two-wire Serial Interface

Implementations

impl Interrupt[src]

pub fn try_from(value: u8) -> Result<Self, TryFromInterruptError>[src]

Trait Implementations

impl Clone for Interrupt[src]

impl Copy for Interrupt[src]

impl Debug for Interrupt[src]

impl Eq for Interrupt[src]

impl Nr for Interrupt[src]

impl PartialEq<Interrupt> for Interrupt[src]

impl StructuralEq for Interrupt[src]

impl StructuralPartialEq for Interrupt[src]

Auto Trait Implementations

impl Send for Interrupt

impl Sync for Interrupt

impl Unpin for Interrupt

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.