Zephyr API Documentation
4.3.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
pinctrl-ra0.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2026 Renesas Electronics Corporation
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_RENESAS_PINCTRL_RA0_H__
8
#define ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_RENESAS_PINCTRL_RA0_H__
9
14
19
21
#define RA_PORT_NUM_POS 0
23
#define RA_PORT_NUM_MASK 0xf
25
#define RA_PIN_NUM_POS 4
27
#define RA_PIN_NUM_MASK 0xf
29
#define RA_PSEL_POS 8
31
#define RA_PSEL_MASK 0x1f
32
34
39
41
#define RA_PSEL_P1nPFS_SWDIO 0x1
43
#define RA_PSEL_P1nPFS_TI04A 0x1
45
#define RA_PSEL_P1nPFS_TO04A 0x1
47
#define RA_PSEL_P1nPFS_TI07A 0x1
49
#define RA_PSEL_P1nPFS_TO07A 0x1
51
#define RA_PSEL_P1nPFS_TI06A 0x1
53
#define RA_PSEL_P1nPFS_TO06A 0x1
55
#define RA_PSEL_P1nPFS_TI05A 0x1
57
#define RA_PSEL_P1nPFS_TO05A 0x1
59
#define RA_PSEL_P1nPFS_TI02D 0x1
61
#define RA_PSEL_P1nPFS_TO02D 0x1
63
#define RA_PSEL_P1nPFS_TI01D 0x1
65
#define RA_PSEL_P1nPFS_TO01D 0x1
67
#define RA_PSEL_P1nPFS_TI02A 0x1
69
#define RA_PSEL_P1nPFS_TO02A 0x1
71
#define RA_PSEL_P1nPFS_TI01A 0x1
73
#define RA_PSEL_P1nPFS_TO01A 0x1
75
#define RA_PSEL_P1nPFS_TI07B 0x1
77
#define RA_PSEL_P1nPFS_TO07B 0x1
79
#define RA_PSEL_P1nPFS_TI03A 0x1
81
#define RA_PSEL_P1nPFS_TO03A 0x1
83
#define RA_PSEL_P1nPFS_TI01B 0x2
85
#define RA_PSEL_P1nPFS_TO01B 0x2
87
#define RA_PSEL_P1nPFS_TI00C 0x2
89
#define RA_PSEL_P1nPFS_TO00C 0x2
91
#define RA_PSEL_P1nPFS_SSI00A 0x2
93
#define RA_PSEL_P1nPFS_TI00D 0x2
95
#define RA_PSEL_P1nPFS_TO00D 0x2
97
#define RA_PSEL_P1nPFS_TI03B 0x2
99
#define RA_PSEL_P1nPFS_TO03B 0x2
101
#define RA_PSEL_P1nPFS_TXD2A 0x2
103
#define RA_PSEL_P1nPFS_SO20A 0x2
105
#define RA_PSEL_P1nPFS_RXD2A 0x2
107
#define RA_PSEL_P1nPFS_SI20A 0x2
109
#define RA_PSEL_P1nPFS_SDA20A 0x2
111
#define RA_PSEL_P1nPFS_SCK20A 0x2
113
#define RA_PSEL_P1nPFS_SCL20A 0x2
115
#define RA_PSEL_P1nPFS_RXD0A 0x3
117
#define RA_PSEL_P1nPFS_SI00A 0x3
119
#define RA_PSEL_P1nPFS_SDA00A 0x3
121
#define RA_PSEL_P1nPFS_TXD0A 0x3
123
#define RA_PSEL_P1nPFS_SO00A 0x3
125
#define RA_PSEL_P1nPFS_SCK00A 0x3
127
#define RA_PSEL_P1nPFS_SCL00A 0x3
129
#define RA_PSEL_P1nPFS_SCK10A 0x3
131
#define RA_PSEL_P1nPFS_SCL10A 0x3
133
#define RA_PSEL_P1nPFS_SI10A 0x3
135
#define RA_PSEL_P1nPFS_SDA10A 0x3
137
#define RA_PSEL_P1nPFS_SO10A 0x3
139
#define RA_PSEL_P1nPFS_SDAA0C 0x3
141
#define RA_PSEL_P1nPFS_SCLA0C 0x3
143
#define RA_PSEL_P1nPFS_SSI00C 0x3
145
#define RA_PSEL_P1nPFS_SCLA0D 0x4
147
#define RA_PSEL_P1nPFS_SDAA0D 0x4
149
#define RA_PSEL_P1nPFS_RTCOUNTC 0x4
151
#define RA_PSEL_P1nPFS_RXDA1B 0x4
153
#define RA_PSEL_P1nPFS_TXDA1B 0x4
155
#define RA_PSEL_P1nPFS_TXDA0C 0x4
157
#define RA_PSEL_P1nPFS_RXDA0C 0x4
159
#define RA_PSEL_P1nPFS_RXDA0D 0x5
161
#define RA_PSEL_P1nPFS_TXDA0D 0x5
163
#define RA_PSEL_P1nPFS_PCLBUZ0B 0x5
165
#define RA_PSEL_P1nPFS_PCLBUZ1B 0x5
167
#define RA_PSEL_P1nPFS_SCLA1G 0x6
169
#define RA_PSEL_P1nPFS_SDAA1G 0x6
171
#define RA_PSEL_P1nPFS_SCLA1B 0x6
173
#define RA_PSEL_P1nPFS_SDAA1B 0x6
175
#define RA_PSEL_P1nPFS_RXDA1A 0x7
177
#define RA_PSEL_P1nPFS_TXDA1A 0x7
179
#define RA_PSEL_P1nPFS_TS11 0xC
181
#define RA_PSEL_P1nPFS_TS10 0xC
183
#define RA_PSEL_P1nPFS_TS9 0xC
185
#define RA_PSEL_P1nPFS_TS8 0xC
187
#define RA_PSEL_P1nPFS_TS7 0xC
189
#define RA_PSEL_P1nPFS_TS6 0xC
191
#define RA_PSEL_P1nPFS_TS5 0xC
193
#define RA_PSEL_P1nPFS_TS2 0xC
195
#define RA_PSEL_P1nPFS_TS3 0xC
197
#define RA_PSEL_P1nPFS_TS4 0xC
199
#define RA_PSEL_P1nPFS_TSCAP 0xC
200
202
#define RA_PSEL_P2nPFS_TI05B 0x1
204
#define RA_PSEL_P2nPFS_TO05B 0x1
206
#define RA_PSEL_P2nPFS_TO00B 0x1
208
#define RA_PSEL_P2nPFS_TI00B 0x1
210
#define RA_PSEL_P2nPFS_TO00A 0x1
212
#define RA_PSEL_P2nPFS_TI00A 0x1
214
#define RA_PSEL_P2nPFS_SSI00B 0x2
216
#define RA_PSEL_P2nPFS_RXDA0A 0x2
218
#define RA_PSEL_P2nPFS_TXDA0A 0x2
220
#define RA_PSEL_P2nPFS_TI03C 0x2
222
#define RA_PSEL_P2nPFS_TO03C 0x2
224
#define RA_PSEL_P2nPFS_TI02B 0x2
226
#define RA_PSEL_P2nPFS_TO02B 0x2
228
#define RA_PSEL_P2nPFS_SCK11B 0x3
230
#define RA_PSEL_P2nPFS_SCL11B 0x3
232
#define RA_PSEL_P2nPFS_SI01B 0x3
234
#define RA_PSEL_P2nPFS_SDA01B 0x3
236
#define RA_PSEL_P2nPFS_SCK01B 0x3
238
#define RA_PSEL_P2nPFS_SCL01B 0x3
240
#define RA_PSEL_P2nPFS_RXD1A 0x3
242
#define RA_PSEL_P2nPFS_TXD1A 0x3
244
#define RA_PSEL_P2nPFS_RTCOUTB 0x4
246
#define RA_PSEL_P2nPFS_SCLA1A 0x4
248
#define RA_PSEL_P2nPFS_SDAA1A 0x4
250
#define RA_PSEL_P2nPFS_SI11A 0x4
252
#define RA_PSEL_P2nPFS_SDA11A 0x4
254
#define RA_PSEL_P2nPFS_SO11A 0x4
256
#define RA_PSEL_P2nPFS_PCLBUZ0A 0x5
258
#define RA_PSEL_P2nPFS_SCLA0B 0x5
260
#define RA_PSEL_P2nPFS_SDAA0B 0x5
262
#define RA_PSEL_P2nPFS_RXDA0B 0x6
264
#define RA_PSEL_P2nPFS_TXDA0B 0x6
265
267
#define RA_PSEL_P3nPFS_SWCLK 0x1
269
#define RA_PSEL_P3nPFS_TI06B 0x1
271
#define RA_PSEL_P3nPFS_TO06B 0x1
273
#define RA_PSEL_P3nPFS_TI05C 0x1
275
#define RA_PSEL_P3nPFS_TO05C 0x1
277
#define RA_PSEL_P3nPFS_TI04B 0x2
279
#define RA_PSEL_P3nPFS_TO04B 0x2
281
#define RA_PSEL_P3nPFS_SDA21A 0x2
283
#define RA_PSEL_P3nPFS_SCL21A 0x2
285
#define RA_PSEL_P3nPFS_SCLA1C 0x3
287
#define RA_PSEL_P3nPFS_SDAA1C 0x3
289
#define RA_PSEL_P3nPFS_RXDA1C 0x4
291
#define RA_PSEL_P3nPFS_TXDA1C 0x4
293
#define RA_PSEL_P3nPFS_TS1 0xC
295
#define RA_PSEL_P3nPFS_TS0 0xC
296
298
#define RA_PSEL_P4nPFS_SCLA1D 0x1
300
#define RA_PSEL_P4nPFS_SDAA1D 0x1
302
#define RA_PSEL_P4nPFS_SCK11A 0x1
304
#define RA_PSEL_P4nPFS_SCL11A 0x1
306
#define RA_PSEL_P4nPFS_SCK11C 0x1
308
#define RA_PSEL_P4nPFS_SCL11C 0x1
310
#define RA_PSEL_P4nPFS_RTCOUTA 0x2
312
#define RA_PSEL_P4nPFS_TI04C 0x2
314
#define RA_PSEL_P4nPFS_TO04C 0x2
316
#define RA_PSEL_P4nPFS_TI03E 0x2
318
#define RA_PSEL_P4nPFS_TO03E 0x2
320
#define RA_PSEL_P4nPFS_PCLBUZ0C 0x3
322
#define RA_PSEL_P4nPFS_SDAA1F 0x4
324
#define RA_PSEL_P4nPFS_SCLA1F 0x4
325
327
#define RA_PSEL_P5nPFS_TI03D 0x1
329
#define RA_PSEL_P5nPFS_TO03D 0x1
331
#define RA_PSEL_P5nPFS_TS12 0xC
332
334
#define RA_PSEL_P9nPFS_SDAA0A 0x1
336
#define RA_PSEL_P9nPFS_SCLA0A 0x1
338
#define RA_PSEL_P9nPFS_SO01B 0x3
339
341
349
#define RA_PSEL(psel, port_num, pin_num) \
350
(psel << RA_PSEL_POS | port_num << RA_PORT_NUM_POS | pin_num << RA_PIN_NUM_POS)
351
352
#endif
/* ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_RENESAS_PINCTRL_RA0_H__ */
zephyr
dt-bindings
pinctrl
renesas
pinctrl-ra0.h
Generated on
for Zephyr API Documentation by
1.15.0