Enum avr_device::attiny85::Interrupt
source · #[repr(u16)]pub enum Interrupt {
Show 15 variants
RESET = 0,
INT0 = 1,
PCINT0 = 2,
TIMER1_COMPA = 3,
TIMER1_OVF = 4,
TIMER0_OVF = 5,
EE_RDY = 6,
ANA_COMP = 7,
ADC = 8,
TIMER1_COMPB = 9,
TIMER0_COMPA = 10,
TIMER0_COMPB = 11,
WDT = 12,
USI_START = 13,
USI_OVF = 14,
}
Expand description
Enumeration of all the interrupts.
Variants§
RESET = 0
0 - External Pin, Power-on Reset, Brown-out Reset,Watchdog Reset
INT0 = 1
1 - External Interrupt 0
PCINT0 = 2
2 - Pin change Interrupt Request 0
TIMER1_COMPA = 3
3 - Timer/Counter1 Compare Match 1A
TIMER1_OVF = 4
4 - Timer/Counter1 Overflow
TIMER0_OVF = 5
5 - Timer/Counter0 Overflow
EE_RDY = 6
6 - EEPROM Ready
ANA_COMP = 7
7 - Analog comparator
ADC = 8
8 - ADC Conversion ready
TIMER1_COMPB = 9
9 - Timer/Counter1 Compare Match B
TIMER0_COMPA = 10
10 - Timer/Counter0 Compare Match A
TIMER0_COMPB = 11
11 - Timer/Counter0 Compare Match B
WDT = 12
12 - Watchdog Time-out
USI_START = 13
13 - USI START
USI_OVF = 14
14 - USI Overflow
Implementations§
Trait Implementations§
source§impl PartialEq for Interrupt
impl PartialEq for Interrupt
impl Copy for Interrupt
impl Eq for Interrupt
impl StructuralPartialEq for Interrupt
Auto Trait Implementations§
impl RefUnwindSafe for Interrupt
impl Send for Interrupt
impl Sync for Interrupt
impl Unpin for Interrupt
impl UnwindSafe for Interrupt
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more