Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
esp32c6-gpio-sigmap.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_ESP32C6_GPIO_SIGMAP_H_
8#define ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_ESP32C6_GPIO_SIGMAP_H_
9
10#define ESP_NOSIG ESP_SIG_INVAL
11
12#define ESP_EXT_ADC_START 0
13#define ESP_LEDC_LS_SIG_OUT0 0
14#define ESP_LEDC_LS_SIG_OUT1 1
15#define ESP_LEDC_LS_SIG_OUT2 2
16#define ESP_LEDC_LS_SIG_OUT3 3
17#define ESP_LEDC_LS_SIG_OUT4 4
18#define ESP_LEDC_LS_SIG_OUT5 5
19#define ESP_U0RXD_IN 6
20#define ESP_U0TXD_OUT 6
21#define ESP_U0CTS_IN 7
22#define ESP_U0RTS_OUT 7
23#define ESP_U0DSR_IN 8
24#define ESP_U0DTR_OUT 8
25#define ESP_U1RXD_IN 9
26#define ESP_U1TXD_OUT 9
27#define ESP_U1CTS_IN 10
28#define ESP_U1RTS_OUT 10
29#define ESP_U1DSR_IN 11
30#define ESP_U1DTR_OUT 11
31#define ESP_I2S_MCLK_IN 12
32#define ESP_I2S_MCLK_OUT 12
33#define ESP_I2SO_BCK_IN 13
34#define ESP_I2SO_BCK_OUT 13
35#define ESP_I2SO_WS_IN 14
36#define ESP_I2SO_WS_OUT 14
37#define ESP_I2SI_SD_IN 15
38#define ESP_I2SO_SD_OUT 15
39#define ESP_I2SI_BCK_IN 16
40#define ESP_I2SI_BCK_OUT 16
41#define ESP_I2SI_WS_IN 17
42#define ESP_I2SI_WS_OUT 17
43#define ESP_I2SO_SD1_OUT 18
44#define ESP_USB_JTAG_TDO_BRIDGE 19
45#define ESP_USB_JTAG_TRST 19
46#define ESP_CPU_TESTBUS0 20
47#define ESP_CPU_TESTBUS1 21
48#define ESP_CPU_TESTBUS2 22
49#define ESP_CPU_TESTBUS3 23
50#define ESP_CPU_TESTBUS4 24
51#define ESP_CPU_TESTBUS5 25
52#define ESP_CPU_TESTBUS6 26
53#define ESP_CPU_TESTBUS7 27
54#define ESP_CPU_GPIO_IN0 28
55#define ESP_CPU_GPIO_OUT0 28
56#define ESP_CPU_GPIO_IN1 29
57#define ESP_CPU_GPIO_OUT1 29
58#define ESP_CPU_GPIO_IN2 30
59#define ESP_CPU_GPIO_OUT2 30
60#define ESP_CPU_GPIO_IN3 31
61#define ESP_CPU_GPIO_OUT3 31
62#define ESP_CPU_GPIO_IN4 32
63#define ESP_CPU_GPIO_OUT4 32
64#define ESP_CPU_GPIO_IN5 33
65#define ESP_CPU_GPIO_OUT5 33
66#define ESP_CPU_GPIO_IN6 34
67#define ESP_CPU_GPIO_OUT6 34
68#define ESP_CPU_GPIO_IN7 35
69#define ESP_CPU_GPIO_OUT7 35
70#define ESP_USB_JTAG_TCK 36
71#define ESP_USB_JTAG_TMS 37
72#define ESP_USB_JTAG_TDI 38
73#define ESP_USB_JTAG_TDO 39
74#define ESP_USB_EXTPHY_VP 40
75#define ESP_USB_EXTPHY_OEN 40
76#define ESP_USB_EXTPHY_VM 41
77#define ESP_USB_EXTPHY_SPEED 41
78#define ESP_USB_EXTPHY_RCV 42
79#define ESP_USB_EXTPHY_VPO 42
80#define ESP_USB_EXTPHY_VMO 43
81#define ESP_USB_EXTPHY_SUSPND 44
82#define ESP_I2CEXT0_SCL_IN 45
83#define ESP_I2CEXT0_SCL_OUT 45
84#define ESP_I2CEXT0_SDA_IN 46
85#define ESP_I2CEXT0_SDA_OUT 46
86#define ESP_PARL_RX_DATA0 47
87#define ESP_PARL_TX_DATA0 47
88#define ESP_PARL_RX_DATA1 48
89#define ESP_PARL_TX_DATA1 48
90#define ESP_PARL_RX_DATA2 49
91#define ESP_PARL_TX_DATA2 49
92#define ESP_PARL_RX_DATA3 50
93#define ESP_PARL_TX_DATA3 50
94#define ESP_PARL_RX_DATA4 51
95#define ESP_PARL_TX_DATA4 51
96#define ESP_PARL_RX_DATA5 52
97#define ESP_PARL_TX_DATA5 52
98#define ESP_PARL_RX_DATA6 53
99#define ESP_PARL_TX_DATA6 53
100#define ESP_PARL_RX_DATA7 54
101#define ESP_PARL_TX_DATA7 54
102#define ESP_PARL_RX_DATA8 55
103#define ESP_PARL_TX_DATA8 55
104#define ESP_PARL_RX_DATA9 56
105#define ESP_PARL_TX_DATA9 56
106#define ESP_PARL_RX_DATA10 57
107#define ESP_PARL_TX_DATA10 57
108#define ESP_PARL_RX_DATA11 58
109#define ESP_PARL_TX_DATA11 58
110#define ESP_PARL_RX_DATA12 59
111#define ESP_PARL_TX_DATA12 59
112#define ESP_PARL_RX_DATA13 60
113#define ESP_PARL_TX_DATA13 60
114#define ESP_PARL_RX_DATA14 61
115#define ESP_PARL_TX_DATA14 61
116#define ESP_PARL_RX_DATA15 62
117#define ESP_PARL_TX_DATA15 62
118#define ESP_FSPICLK_IN 63
119#define ESP_FSPICLK_OUT 63
120#define ESP_FSPIQ_IN 64
121#define ESP_FSPIQ_OUT 64
122#define ESP_FSPID_IN 65
123#define ESP_FSPID_OUT 65
124#define ESP_FSPIHD_IN 66
125#define ESP_FSPIHD_OUT 66
126#define ESP_FSPIWP_IN 67
127#define ESP_FSPIWP_OUT 67
128#define ESP_FSPICS0_IN 68
129#define ESP_FSPICS0_OUT 68
130#define ESP_PARL_RX_CLK_IN 69
131#define ESP_SDIO_TOHOST_INT_OUT 69
132#define ESP_PARL_TX_CLK_IN 70
133#define ESP_PARL_TX_CLK_OUT 70
134#define ESP_RMT_SIG_IN0 71
135#define ESP_RMT_SIG_OUT0 71
136#define ESP_MODEM_DIAG0 71
137#define ESP_RMT_SIG_IN1 72
138#define ESP_RMT_SIG_OUT1 72
139#define ESP_MODEM_DIAG1 72
140#define ESP_TWAI0_RX 73
141#define ESP_TWAI0_TX 73
142#define ESP_MODEM_DIAG2 73
143#define ESP_TWAI0_BUS_OFF_ON 74
144#define ESP_MODEM_DIAG3 74
145#define ESP_TWAI0_CLKOUT 75
146#define ESP_MODEM_DIAG4 75
147#define ESP_TWAI0_STANDBY 76
148#define ESP_MODEM_DIAG5 76
149#define ESP_TWAI1_RX 77
150#define ESP_TWAI1_TX 77
151#define ESP_MODEM_DIAG6 77
152#define ESP_TWAI1_BUS_OFF_ON 78
153#define ESP_MODEM_DIAG7 78
154#define ESP_TWAI1_CLKOUT 79
155#define ESP_MODEM_DIAG8 79
156#define ESP_TWAI1_STANDBY 80
157#define ESP_MODEM_DIAG9 80
158#define ESP_EXTERN_PRIORITY_I 81
159#define ESP_EXTERN_PRIORITY_O 81
160#define ESP_EXTERN_ACTIVE_I 82
161#define ESP_EXTERN_ACTIVE_O 82
162#define ESP_GPIO_SD0_OUT 83
163#define ESP_GPIO_SD1_OUT 84
164#define ESP_GPIO_SD2_OUT 85
165#define ESP_GPIO_SD3_OUT 86
166#define ESP_PWM0_SYNC0_IN 87
167#define ESP_PWM0_OUT0A 87
168#define ESP_MODEM_DIAG10 87
169#define ESP_PWM0_SYNC1_IN 88
170#define ESP_PWM0_OUT0B 88
171#define ESP_MODEM_DIAG11 88
172#define ESP_PWM0_SYNC2_IN 89
173#define ESP_PWM0_OUT1A 89
174#define ESP_MODEM_DIAG12 89
175#define ESP_PWM0_F0_IN 90
176#define ESP_PWM0_OUT1B 90
177#define ESP_MODEM_DIAG13 90
178#define ESP_PWM0_F1_IN 91
179#define ESP_PWM0_OUT2A 91
180#define ESP_MODEM_DIAG14 91
181#define ESP_PWM0_F2_IN 92
182#define ESP_PWM0_OUT2B 92
183#define ESP_MODEM_DIAG15 92
184#define ESP_PWM0_CAP0_IN 93
185#define ESP_ANT_SEL0 93
186#define ESP_PWM0_CAP1_IN 94
187#define ESP_ANT_SEL1 94
188#define ESP_PWM0_CAP2_IN 95
189#define ESP_ANT_SEL2 95
190#define ESP_ANT_SEL3 96
191#define ESP_SIG_IN_FUNC_97 97
192#define ESP_SIG_IN_FUNC97 97
193#define ESP_SIG_IN_FUNC_98 98
194#define ESP_SIG_IN_FUNC98 98
195#define ESP_SIG_IN_FUNC_99 99
196#define ESP_SIG_IN_FUNC99 99
197#define ESP_SIG_IN_FUNC_100 100
198#define ESP_SIG_IN_FUNC100 100
199#define ESP_PCNT_SIG_CH0_IN0 101
200#define ESP_FSPICS1_OUT 101
201#define ESP_MODEM_DIAG16 101
202#define ESP_PCNT_SIG_CH1_IN0 102
203#define ESP_FSPICS2_OUT 102
204#define ESP_MODEM_DIAG17 102
205#define ESP_PCNT_CTRL_CH0_IN0 103
206#define ESP_FSPICS3_OUT 103
207#define ESP_MODEM_DIAG18 103
208#define ESP_PCNT_CTRL_CH1_IN0 104
209#define ESP_FSPICS4_OUT 104
210#define ESP_MODEM_DIAG19 104
211#define ESP_PCNT_SIG_CH0_IN1 105
212#define ESP_FSPICS5_OUT 105
213#define ESP_MODEM_DIAG20 105
214#define ESP_PCNT_SIG_CH1_IN1 106
215#define ESP_MODEM_DIAG21 106
216#define ESP_PCNT_CTRL_CH0_IN1 107
217#define ESP_MODEM_DIAG22 107
218#define ESP_PCNT_CTRL_CH1_IN1 108
219#define ESP_MODEM_DIAG23 108
220#define ESP_PCNT_SIG_CH0_IN2 109
221#define ESP_MODEM_DIAG24 109
222#define ESP_PCNT_SIG_CH1_IN2 110
223#define ESP_MODEM_DIAG25 110
224#define ESP_PCNT_CTRL_CH0_IN2 111
225#define ESP_MODEM_DIAG26 111
226#define ESP_PCNT_CTRL_CH1_IN2 112
227#define ESP_MODEM_DIAG27 112
228#define ESP_PCNT_SIG_CH0_IN3 113
229#define ESP_MODEM_DIAG28 113
230#define ESP_PCNT_SIG_CH1_IN3 114
231#define ESP_SPICLK_OUT 114
232#define ESP_MODEM_DIAG29 114
233#define ESP_PCNT_CTRL_CH0_IN3 115
234#define ESP_SPICS0_OUT 115
235#define ESP_MODEM_DIAG30 115
236#define ESP_PCNT_CTRL_CH1_IN3 116
237#define ESP_SPICS1_OUT 116
238#define ESP_MODEM_DIAG31 116
239#define ESP_GPIO_EVENT_MATRIX_IN0 117
240#define ESP_GPIO_TASK_MATRIX_OUT0 117
241#define ESP_GPIO_EVENT_MATRIX_IN1 118
242#define ESP_GPIO_TASK_MATRIX_OUT1 118
243#define ESP_GPIO_EVENT_MATRIX_IN2 119
244#define ESP_GPIO_TASK_MATRIX_OUT2 119
245#define ESP_GPIO_EVENT_MATRIX_IN3 120
246#define ESP_GPIO_TASK_MATRIX_OUT3 120
247#define ESP_SPIQ_IN 121
248#define ESP_SPIQ_OUT 121
249#define ESP_SPID_IN 122
250#define ESP_SPID_OUT 122
251#define ESP_SPIHD_IN 123
252#define ESP_SPIHD_OUT 123
253#define ESP_SPIWP_IN 124
254#define ESP_SPIWP_OUT 124
255#define ESP_CLK_OUT_OUT1 125
256#define ESP_CLK_OUT_OUT2 126
257#define ESP_CLK_OUT_OUT3 127
258#define ESP_SIG_GPIO_OUT 128
259#define ESP_GPIO_MAP_DATE 0x2201120
260
261#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_ESP32C6_GPIO_SIGMAP_H_ */