#[repr(u16)]pub enum Interrupt {
Show 27 variants
DMA = 0,
GPIO_EVEN = 1,
TIMER0 = 2,
USART0_RX = 3,
USART0_TX = 4,
ACMP0 = 5,
ADC0 = 6,
DAC0 = 7,
I2C0 = 8,
GPIO_ODD = 9,
TIMER1 = 10,
TIMER2 = 11,
USART1_RX = 12,
USART1_TX = 13,
USART2_RX = 14,
USART2_TX = 15,
LEUART0 = 18,
LEUART1 = 19,
LETIMER0 = 20,
PCNT0 = 21,
PCNT1 = 22,
PCNT2 = 23,
RTC = 24,
CMU = 25,
VCMP = 26,
MSC = 28,
AES = 29,
}
Expand description
Enumeration of all the interrupts.
Variants§
DMA = 0
0 - DMA
GPIO_EVEN = 1
1 - GPIO_EVEN
TIMER0 = 2
2 - TIMER0
USART0_RX = 3
3 - USART0_RX
USART0_TX = 4
4 - USART0_TX
ACMP0 = 5
5 - ACMP0
ADC0 = 6
6 - ADC0
DAC0 = 7
7 - DAC0
I2C0 = 8
8 - I2C0
GPIO_ODD = 9
9 - GPIO_ODD
TIMER1 = 10
10 - TIMER1
TIMER2 = 11
11 - TIMER2
USART1_RX = 12
12 - USART1_RX
USART1_TX = 13
13 - USART1_TX
USART2_RX = 14
14 - USART2_RX
USART2_TX = 15
15 - USART2_TX
LEUART0 = 18
18 - LEUART0
LEUART1 = 19
19 - LEUART1
LETIMER0 = 20
20 - LETIMER0
PCNT0 = 21
21 - PCNT0
PCNT1 = 22
22 - PCNT1
PCNT2 = 23
23 - PCNT2
RTC = 24
24 - RTC
CMU = 25
25 - CMU
VCMP = 26
26 - VCMP
MSC = 28
28 - MSC
AES = 29
29 - AES
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