v2.0.0
dreq_rp2040.h
1// THIS HEADER FILE IS AUTOMATICALLY GENERATED -- DO NOT EDIT
2
8#ifndef _DREQ_H
9#define _DREQ_H
10
15#ifdef __ASSEMBLER__
16#define DREQ_PIO0_TX0 0
17#define DREQ_PIO0_TX1 1
18#define DREQ_PIO0_TX2 2
19#define DREQ_PIO0_TX3 3
20#define DREQ_PIO0_RX0 4
21#define DREQ_PIO0_RX1 5
22#define DREQ_PIO0_RX2 6
23#define DREQ_PIO0_RX3 7
24#define DREQ_PIO1_TX0 8
25#define DREQ_PIO1_TX1 9
26#define DREQ_PIO1_TX2 10
27#define DREQ_PIO1_TX3 11
28#define DREQ_PIO1_RX0 12
29#define DREQ_PIO1_RX1 13
30#define DREQ_PIO1_RX2 14
31#define DREQ_PIO1_RX3 15
32#define DREQ_SPI0_TX 16
33#define DREQ_SPI0_RX 17
34#define DREQ_SPI1_TX 18
35#define DREQ_SPI1_RX 19
36#define DREQ_UART0_TX 20
37#define DREQ_UART0_RX 21
38#define DREQ_UART1_TX 22
39#define DREQ_UART1_RX 23
40#define DREQ_PWM_WRAP0 24
41#define DREQ_PWM_WRAP1 25
42#define DREQ_PWM_WRAP2 26
43#define DREQ_PWM_WRAP3 27
44#define DREQ_PWM_WRAP4 28
45#define DREQ_PWM_WRAP5 29
46#define DREQ_PWM_WRAP6 30
47#define DREQ_PWM_WRAP7 31
48#define DREQ_I2C0_TX 32
49#define DREQ_I2C0_RX 33
50#define DREQ_I2C1_TX 34
51#define DREQ_I2C1_RX 35
52#define DREQ_ADC 36
53#define DREQ_XIP_STREAM 37
54#define DREQ_XIP_SSITX 38
55#define DREQ_XIP_SSIRX 39
56#define DREQ_DMA_TIMER0 59
57#define DREQ_DMA_TIMER1 60
58#define DREQ_DMA_TIMER2 61
59#define DREQ_DMA_TIMER3 62
60#define DREQ_FORCE 63
61#else
66 typedef enum dreq_num_rp2040 {
67 DREQ_PIO0_TX0 = 0,
68 DREQ_PIO0_TX1 = 1,
69 DREQ_PIO0_TX2 = 2,
70 DREQ_PIO0_TX3 = 3,
71 DREQ_PIO0_RX0 = 4,
72 DREQ_PIO0_RX1 = 5,
73 DREQ_PIO0_RX2 = 6,
74 DREQ_PIO0_RX3 = 7,
75 DREQ_PIO1_TX0 = 8,
76 DREQ_PIO1_TX1 = 9,
77 DREQ_PIO1_TX2 = 10,
78 DREQ_PIO1_TX3 = 11,
79 DREQ_PIO1_RX0 = 12,
80 DREQ_PIO1_RX1 = 13,
81 DREQ_PIO1_RX2 = 14,
82 DREQ_PIO1_RX3 = 15,
83 DREQ_SPI0_TX = 16,
84 DREQ_SPI0_RX = 17,
85 DREQ_SPI1_TX = 18,
86 DREQ_SPI1_RX = 19,
87 DREQ_UART0_TX = 20,
88 DREQ_UART0_RX = 21,
89 DREQ_UART1_TX = 22,
90 DREQ_UART1_RX = 23,
91 DREQ_PWM_WRAP0 = 24,
92 DREQ_PWM_WRAP1 = 25,
93 DREQ_PWM_WRAP2 = 26,
94 DREQ_PWM_WRAP3 = 27,
95 DREQ_PWM_WRAP4 = 28,
96 DREQ_PWM_WRAP5 = 29,
97 DREQ_PWM_WRAP6 = 30,
98 DREQ_PWM_WRAP7 = 31,
99 DREQ_I2C0_TX = 32,
100 DREQ_I2C0_RX = 33,
101 DREQ_I2C1_TX = 34,
102 DREQ_I2C1_RX = 35,
103 DREQ_ADC = 36,
104 DREQ_XIP_STREAM = 37,
105 DREQ_XIP_SSITX = 38,
106 DREQ_XIP_SSIRX = 39,
107 DREQ_DMA_TIMER0 = 59,
108 DREQ_DMA_TIMER1 = 60,
109 DREQ_DMA_TIMER2 = 61,
110 DREQ_DMA_TIMER3 = 62,
111 DREQ_FORCE = 63,
112 DREQ_COUNT
113} dreq_num_t;
114#endif
115
116#endif // _DREQ_H
117
dreq_num_rp2040
dreq_num_rp2040
DREQ numbers for DMA pacing on RP2040 (used as typedef dreq_num_t)
Definition: dreq_rp2040.h:66
dreq_num_t
enum dreq_num_rp2040 dreq_num_t
DREQ numbers for DMA pacing on RP2040 (used as typedef dreq_num_t)
DREQ_PWM_WRAP3
@ DREQ_PWM_WRAP3
Select PWM Counter 3's Wrap Value as DREQ.
Definition: dreq_rp2040.h:94
DREQ_PIO1_RX2
@ DREQ_PIO1_RX2
Select PIO1's RX FIFO 2 as DREQ.
Definition: dreq_rp2040.h:81
DREQ_SPI1_TX
@ DREQ_SPI1_TX
Select SPI1's TX FIFO as DREQ.
Definition: dreq_rp2040.h:85
DREQ_SPI1_RX
@ DREQ_SPI1_RX
Select SPI1's RX FIFO as DREQ.
Definition: dreq_rp2040.h:86
DREQ_I2C1_RX
@ DREQ_I2C1_RX
Select I2C1's RX FIFO as DREQ.
Definition: dreq_rp2040.h:102
DREQ_PIO0_RX3
@ DREQ_PIO0_RX3
Select PIO0's RX FIFO 3 as DREQ.
Definition: dreq_rp2040.h:74
DREQ_DMA_TIMER1
@ DREQ_DMA_TIMER1
Select DMA_TIMER0 as DREQ.
Definition: dreq_rp2040.h:108
DREQ_PIO1_TX2
@ DREQ_PIO1_TX2
Select PIO1's TX FIFO 2 as DREQ.
Definition: dreq_rp2040.h:77
DREQ_PWM_WRAP1
@ DREQ_PWM_WRAP1
Select PWM Counter 1's Wrap Value as DREQ.
Definition: dreq_rp2040.h:92
DREQ_PIO0_TX3
@ DREQ_PIO0_TX3
Select PIO0's TX FIFO 3 as DREQ.
Definition: dreq_rp2040.h:70
DREQ_PIO0_RX1
@ DREQ_PIO0_RX1
Select PIO0's RX FIFO 1 as DREQ.
Definition: dreq_rp2040.h:72
DREQ_PWM_WRAP0
@ DREQ_PWM_WRAP0
Select PWM Counter 0's Wrap Value as DREQ.
Definition: dreq_rp2040.h:91
DREQ_PIO1_TX1
@ DREQ_PIO1_TX1
Select PIO1's TX FIFO 1 as DREQ.
Definition: dreq_rp2040.h:76
DREQ_PIO1_TX0
@ DREQ_PIO1_TX0
Select PIO1's TX FIFO 0 as DREQ.
Definition: dreq_rp2040.h:75
DREQ_SPI0_RX
@ DREQ_SPI0_RX
Select SPI0's RX FIFO as DREQ.
Definition: dreq_rp2040.h:84
DREQ_UART0_RX
@ DREQ_UART0_RX
Select UART0's RX FIFO as DREQ.
Definition: dreq_rp2040.h:88
DREQ_DMA_TIMER0
@ DREQ_DMA_TIMER0
Select DMA_TIMER0 as DREQ.
Definition: dreq_rp2040.h:107
DREQ_SPI0_TX
@ DREQ_SPI0_TX
Select SPI0's TX FIFO as DREQ.
Definition: dreq_rp2040.h:83
DREQ_ADC
@ DREQ_ADC
Select the ADC as DREQ.
Definition: dreq_rp2040.h:103
DREQ_PWM_WRAP4
@ DREQ_PWM_WRAP4
Select PWM Counter 4's Wrap Value as DREQ.
Definition: dreq_rp2040.h:95
DREQ_I2C0_RX
@ DREQ_I2C0_RX
Select I2C0's RX FIFO as DREQ.
Definition: dreq_rp2040.h:100
DREQ_I2C1_TX
@ DREQ_I2C1_TX
Select I2C1's TX FIFO as DREQ.
Definition: dreq_rp2040.h:101
DREQ_XIP_SSIRX
@ DREQ_XIP_SSIRX
Select the XIP SSI RX FIFO as DREQ.
Definition: dreq_rp2040.h:106
DREQ_UART0_TX
@ DREQ_UART0_TX
Select UART0's TX FIFO as DREQ.
Definition: dreq_rp2040.h:87
DREQ_PIO1_RX0
@ DREQ_PIO1_RX0
Select PIO1's RX FIFO 0 as DREQ.
Definition: dreq_rp2040.h:79
DREQ_DMA_TIMER3
@ DREQ_DMA_TIMER3
Select DMA_TIMER3 as DREQ.
Definition: dreq_rp2040.h:110
DREQ_PIO1_RX1
@ DREQ_PIO1_RX1
Select PIO1's RX FIFO 1 as DREQ.
Definition: dreq_rp2040.h:80
DREQ_PIO0_RX2
@ DREQ_PIO0_RX2
Select PIO0's RX FIFO 2 as DREQ.
Definition: dreq_rp2040.h:73
DREQ_PIO0_TX2
@ DREQ_PIO0_TX2
Select PIO0's TX FIFO 2 as DREQ.
Definition: dreq_rp2040.h:69
DREQ_UART1_TX
@ DREQ_UART1_TX
Select UART1's TX FIFO as DREQ.
Definition: dreq_rp2040.h:89
DREQ_PIO1_TX3
@ DREQ_PIO1_TX3
Select PIO1's TX FIFO 3 as DREQ.
Definition: dreq_rp2040.h:78
DREQ_PIO1_RX3
@ DREQ_PIO1_RX3
Select PIO1's RX FIFO 3 as DREQ.
Definition: dreq_rp2040.h:82
DREQ_I2C0_TX
@ DREQ_I2C0_TX
Select I2C0's TX FIFO as DREQ.
Definition: dreq_rp2040.h:99
DREQ_XIP_SSITX
@ DREQ_XIP_SSITX
Select the XIP SSI TX FIFO as DREQ.
Definition: dreq_rp2040.h:105
DREQ_DMA_TIMER2
@ DREQ_DMA_TIMER2
Select DMA_TIMER1 as DREQ.
Definition: dreq_rp2040.h:109
DREQ_PIO0_RX0
@ DREQ_PIO0_RX0
Select PIO0's RX FIFO 0 as DREQ.
Definition: dreq_rp2040.h:71
DREQ_PIO0_TX1
@ DREQ_PIO0_TX1
Select PIO0's TX FIFO 1 as DREQ.
Definition: dreq_rp2040.h:68
DREQ_PWM_WRAP2
@ DREQ_PWM_WRAP2
Select PWM Counter 2's Wrap Value as DREQ.
Definition: dreq_rp2040.h:93
DREQ_PWM_WRAP5
@ DREQ_PWM_WRAP5
Select PWM Counter 5's Wrap Value as DREQ.
Definition: dreq_rp2040.h:96
DREQ_PIO0_TX0
@ DREQ_PIO0_TX0
Select PIO0's TX FIFO 0 as DREQ.
Definition: dreq_rp2040.h:67
DREQ_PWM_WRAP7
@ DREQ_PWM_WRAP7
Select PWM Counter 7's Wrap Value as DREQ.
Definition: dreq_rp2040.h:98
DREQ_PWM_WRAP6
@ DREQ_PWM_WRAP6
Select PWM Counter 6's Wrap Value as DREQ.
Definition: dreq_rp2040.h:97
DREQ_UART1_RX
@ DREQ_UART1_RX
Select UART1's RX FIFO as DREQ.
Definition: dreq_rp2040.h:90
DREQ_FORCE
@ DREQ_FORCE
Select FORCE as DREQ.
Definition: dreq_rp2040.h:111
DREQ_XIP_STREAM
@ DREQ_XIP_STREAM
Select the XIP Streaming FIFO as DREQ.
Definition: dreq_rp2040.h:104