@web-font-path: "roboto-debian.css";
v2.2.0 (RP2040)
Loading...
Searching...
No Matches
intctrl.h
// THIS HEADER FILE IS AUTOMATICALLY GENERATED -- DO NOT EDIT
#ifndef _INTCTRL_H
#define _INTCTRL_H
#ifdef __ASSEMBLER__
#define TIMER_IRQ_0 0
#define TIMER_IRQ_1 1
#define TIMER_IRQ_2 2
#define TIMER_IRQ_3 3
#define PWM_IRQ_WRAP 4
#define USBCTRL_IRQ 5
#define XIP_IRQ 6
#define PIO0_IRQ_0 7
#define PIO0_IRQ_1 8
#define PIO1_IRQ_0 9
#define PIO1_IRQ_1 10
#define DMA_IRQ_0 11
#define DMA_IRQ_1 12
#define IO_IRQ_BANK0 13
#define IO_IRQ_QSPI 14
#define SIO_IRQ_PROC0 15
#define SIO_IRQ_PROC1 16
#define CLOCKS_IRQ 17
#define SPI0_IRQ 18
#define SPI1_IRQ 19
#define UART0_IRQ 20
#define UART1_IRQ 21
#define ADC_IRQ_FIFO 22
#define I2C0_IRQ 23
#define I2C1_IRQ 24
#define RTC_IRQ 25
#define SPARE_IRQ_0 26
#define SPARE_IRQ_1 27
#define SPARE_IRQ_2 28
#define SPARE_IRQ_3 29
#define SPARE_IRQ_4 30
#define SPARE_IRQ_5 31
#else
typedef enum irq_num_rp2040 {
TIMER_IRQ_0 = 0,
TIMER_IRQ_1 = 1,
TIMER_IRQ_2 = 2,
TIMER_IRQ_3 = 3,
PWM_IRQ_WRAP = 4,
USBCTRL_IRQ = 5,
XIP_IRQ = 6,
PIO0_IRQ_0 = 7,
PIO0_IRQ_1 = 8,
PIO1_IRQ_0 = 9,
PIO1_IRQ_1 = 10,
DMA_IRQ_0 = 11,
DMA_IRQ_1 = 12,
IO_IRQ_BANK0 = 13,
IO_IRQ_QSPI = 14,
SIO_IRQ_PROC0 = 15,
SIO_IRQ_PROC1 = 16,
CLOCKS_IRQ = 17,
SPI0_IRQ = 18,
SPI1_IRQ = 19,
UART0_IRQ = 20,
UART1_IRQ = 21,
ADC_IRQ_FIFO = 22,
I2C0_IRQ = 23,
I2C1_IRQ = 24,
RTC_IRQ = 25,
SPARE_IRQ_0 = 26,
SPARE_IRQ_1 = 27,
SPARE_IRQ_2 = 28,
SPARE_IRQ_3 = 29,
SPARE_IRQ_4 = 30,
SPARE_IRQ_5 = 31,
IRQ_COUNT
} irq_num_t;
#endif
#define isr_timer_0 isr_irq0
#define isr_timer_1 isr_irq1
#define isr_timer_2 isr_irq2
#define isr_timer_3 isr_irq3
#define isr_pwm_wrap isr_irq4
#define isr_usbctrl isr_irq5
#define isr_xip isr_irq6
#define isr_pio0_0 isr_irq7
#define isr_pio0_1 isr_irq8
#define isr_pio1_0 isr_irq9
#define isr_pio1_1 isr_irq10
#define isr_dma_0 isr_irq11
#define isr_dma_1 isr_irq12
#define isr_io_bank0 isr_irq13
#define isr_io_qspi isr_irq14
#define isr_sio_proc0 isr_irq15
#define isr_sio_proc1 isr_irq16
#define isr_clocks isr_irq17
#define isr_spi0 isr_irq18
#define isr_spi1 isr_irq19
#define isr_uart0 isr_irq20
#define isr_uart1 isr_irq21
#define isr_adc_fifo isr_irq22
#define isr_i2c0 isr_irq23
#define isr_i2c1 isr_irq24
#define isr_rtc isr_irq25
#define isr_spare_0 isr_irq26
#define isr_spare_1 isr_irq27
#define isr_spare_2 isr_irq28
#define isr_spare_3 isr_irq29
#define isr_spare_4 isr_irq30
#define isr_spare_5 isr_irq31
#endif // _INTCTRL_H
irq_num_t
enum irq_num_rp2040 irq_num_t
Interrupt numbers on RP2040 (used as typedef irq_num_t).
irq_num_rp2040
irq_num_rp2040
Interrupt numbers on RP2040 (used as typedef irq_num_t).
Definition intctrl.h:53
PWM_IRQ_WRAP
@ PWM_IRQ_WRAP
Select PWM's IRQ_WRAP output.
Definition intctrl.h:58
PIO1_IRQ_1
@ PIO1_IRQ_1
Select PIO1's IRQ 1 output.
Definition intctrl.h:64
UART1_IRQ
@ UART1_IRQ
Select UART1's IRQ output.
Definition intctrl.h:75
SPI0_IRQ
@ SPI0_IRQ
Select SPI0's IRQ output.
Definition intctrl.h:72
SPARE_IRQ_1
@ SPARE_IRQ_1
Select SPARE IRQ 1.
Definition intctrl.h:81
PIO1_IRQ_0
@ PIO1_IRQ_0
Select PIO1's IRQ 0 output.
Definition intctrl.h:63
DMA_IRQ_0
@ DMA_IRQ_0
Select DMA's IRQ 0 output.
Definition intctrl.h:65
USBCTRL_IRQ
@ USBCTRL_IRQ
Select USBCTRL's IRQ output.
Definition intctrl.h:59
SPARE_IRQ_3
@ SPARE_IRQ_3
Select SPARE IRQ 3.
Definition intctrl.h:83
I2C1_IRQ
@ I2C1_IRQ
Select I2C1's IRQ output.
Definition intctrl.h:78
TIMER_IRQ_1
@ TIMER_IRQ_1
Select TIMER's IRQ 1 output.
Definition intctrl.h:55
UART0_IRQ
@ UART0_IRQ
Select UART0's IRQ output.
Definition intctrl.h:74
SPI1_IRQ
@ SPI1_IRQ
Select SPI1's IRQ output.
Definition intctrl.h:73
PIO0_IRQ_0
@ PIO0_IRQ_0
Select PIO0's IRQ 0 output.
Definition intctrl.h:61
CLOCKS_IRQ
@ CLOCKS_IRQ
Select CLOCKS's IRQ output.
Definition intctrl.h:71
RTC_IRQ
@ RTC_IRQ
Select RTC's IRQ output.
Definition intctrl.h:79
XIP_IRQ
@ XIP_IRQ
Select XIP's IRQ output.
Definition intctrl.h:60
DMA_IRQ_1
@ DMA_IRQ_1
Select DMA's IRQ 1 output.
Definition intctrl.h:66
ADC_IRQ_FIFO
@ ADC_IRQ_FIFO
Select ADC's IRQ_FIFO output.
Definition intctrl.h:76
PIO0_IRQ_1
@ PIO0_IRQ_1
Select PIO0's IRQ 1 output.
Definition intctrl.h:62
SIO_IRQ_PROC0
@ SIO_IRQ_PROC0
Select SIO_PROC0's IRQ output.
Definition intctrl.h:69
SPARE_IRQ_2
@ SPARE_IRQ_2
Select SPARE IRQ 2.
Definition intctrl.h:82
TIMER_IRQ_0
@ TIMER_IRQ_0
Select TIMER's IRQ 0 output.
Definition intctrl.h:54
TIMER_IRQ_3
@ TIMER_IRQ_3
Select TIMER's IRQ 3 output.
Definition intctrl.h:57
SPARE_IRQ_0
@ SPARE_IRQ_0
Select SPARE IRQ 0.
Definition intctrl.h:80
SIO_IRQ_PROC1
@ SIO_IRQ_PROC1
Select SIO_PROC1's IRQ output.
Definition intctrl.h:70
SPARE_IRQ_4
@ SPARE_IRQ_4
Select SPARE IRQ 4.
Definition intctrl.h:84
I2C0_IRQ
@ I2C0_IRQ
Select I2C0's IRQ output.
Definition intctrl.h:77
IO_IRQ_BANK0
@ IO_IRQ_BANK0
Select IO_BANK0's IRQ output.
Definition intctrl.h:67
SPARE_IRQ_5
@ SPARE_IRQ_5
Select SPARE IRQ 5.
Definition intctrl.h:85
IO_IRQ_QSPI
@ IO_IRQ_QSPI
Select IO_QSPI's IRQ output.
Definition intctrl.h:68
TIMER_IRQ_2
@ TIMER_IRQ_2
Select TIMER's IRQ 2 output.
Definition intctrl.h:56