#[repr(u16)]pub enum Interrupt {
Show 20 variants
DMA = 0,
GPIO_EVEN = 1,
TIMER0 = 2,
ACMP0 = 3,
ADC0 = 4,
I2C0 = 5,
GPIO_ODD = 6,
TIMER1 = 7,
USART1_RX = 8,
USART1_TX = 9,
LEUART0 = 10,
PCNT0 = 11,
RTC = 12,
CMU = 13,
VCMP = 14,
MSC = 15,
AES = 16,
USART0_RX = 17,
USART0_TX = 18,
TIMER2 = 20,
}Expand description
Enumeration of all the interrupts.
Variants§
DMA = 0
0 - DMA
GPIO_EVEN = 1
1 - GPIO_EVEN
TIMER0 = 2
2 - TIMER0
ACMP0 = 3
3 - ACMP0
ADC0 = 4
4 - ADC0
I2C0 = 5
5 - I2C0
GPIO_ODD = 6
6 - GPIO_ODD
TIMER1 = 7
7 - TIMER1
USART1_RX = 8
8 - USART1_RX
USART1_TX = 9
9 - USART1_TX
LEUART0 = 10
10 - LEUART0
PCNT0 = 11
11 - PCNT0
RTC = 12
12 - RTC
CMU = 13
13 - CMU
VCMP = 14
14 - VCMP
MSC = 15
15 - MSC
AES = 16
16 - AES
USART0_RX = 17
17 - USART0_RX
USART0_TX = 18
18 - USART0_TX
TIMER2 = 20
20 - TIMER2
Trait Implementations§
Source§impl InterruptNumber for Interrupt
impl InterruptNumber for Interrupt
impl Copy for Interrupt
impl Eq for Interrupt
impl StructuralPartialEq for Interrupt
Auto Trait Implementations§
impl Freeze for Interrupt
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