Enum rp2040_pac::Interrupt[][src]

#[repr(u8)]
pub enum Interrupt {
Show variants TIMER_IRQ_0, TIMER_IRQ_1, TIMER_IRQ_2, TIMER_IRQ_3, PWM_IRQ_WRAP, USBCTRL_IRQ, XIP_IRQ, PIO0_IRQ_0, PIO0_IRQ_1, PIO1_IRQ_0, PIO1_IRQ_1, DMA_IRQ_0, DMA_IRQ_1, IO_IRQ_BANK0, IO_IRQ_QSPI, SIO_IRQ_PROC0, SIO_IRQ_PROC1, CLOCKS_IRQ, SPI0_IRQ, SPI1_IRQ, UART0_IRQ, UART1_IRQ, ADC_IRQ_FIFO, I2C0_IRQ, I2C1_IRQ, RTC_IRQ,
}
Expand description

Enumeration of all the interrupts

Variants

TIMER_IRQ_0

0 - TIMER_IRQ_0

TIMER_IRQ_1

1 - TIMER_IRQ_1

TIMER_IRQ_2

2 - TIMER_IRQ_2

TIMER_IRQ_3

3 - TIMER_IRQ_3

PWM_IRQ_WRAP

4 - PWM_IRQ_WRAP

USBCTRL_IRQ

5 - USBCTRL_IRQ

XIP_IRQ

6 - XIP_IRQ

PIO0_IRQ_0

7 - PIO0_IRQ_0

PIO0_IRQ_1

8 - PIO0_IRQ_1

PIO1_IRQ_0

9 - PIO1_IRQ_0

PIO1_IRQ_1

10 - PIO1_IRQ_1

DMA_IRQ_0

11 - DMA_IRQ_0

DMA_IRQ_1

12 - DMA_IRQ_1

IO_IRQ_BANK0

13 - IO_IRQ_BANK0

IO_IRQ_QSPI

14 - IO_IRQ_QSPI

SIO_IRQ_PROC0

15 - SIO_IRQ_PROC0

SIO_IRQ_PROC1

16 - SIO_IRQ_PROC1

CLOCKS_IRQ

17 - CLOCKS_IRQ

SPI0_IRQ

18 - SPI0_IRQ

SPI1_IRQ

19 - SPI1_IRQ

UART0_IRQ

20 - UART0_IRQ

UART1_IRQ

21 - UART1_IRQ

ADC_IRQ_FIFO

22 - ADC_IRQ_FIFO

I2C0_IRQ

23 - I2C0_IRQ

I2C1_IRQ

24 - I2C1_IRQ

RTC_IRQ

25 - RTC_IRQ

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

Returns the number associated with an interrupt

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.

Return the interrupt number associated with this variant. Read more

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.