Zephyr API Documentation
4.1.99
A Scalable Open Source RTOS
4.1.99
Toggle main menu visibility
Main Page
Related Pages
Topics
Data Structures
Data Structures
Data Structure Index
Data Fields
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Enumerator
Files
File List
Globals
All
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
x
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Macros
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
pinctrl-rzt-common.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2025 Renesas Electronics Corporation
3
* SPDX-License-Identifier: Apache-2.0
4
*/
5
6
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_RENESAS_PINCTRL_RZT_COMMON_H_
7
#define ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_RENESAS_PINCTRL_RZT_COMMON_H_
8
9
/* Superset list of all possible IO ports. */
10
#define PORT_00 0x0000
/* IO port 0 */
11
#define PORT_01 0x0100
/* IO port 1 */
12
#define PORT_02 0x0200
/* IO port 2 */
13
#define PORT_03 0x0300
/* IO port 3 */
14
#define PORT_04 0x0400
/* IO port 4 */
15
#define PORT_05 0x0500
/* IO port 5 */
16
#define PORT_06 0x0600
/* IO port 6 */
17
#define PORT_07 0x0700
/* IO port 7 */
18
#define PORT_08 0x0800
/* IO port 8 */
19
#define PORT_09 0x0900
/* IO port 9 */
20
#define PORT_10 0x0A00
/* IO port 10 */
21
#define PORT_11 0x0B00
/* IO port 11 */
22
#define PORT_12 0x0C00
/* IO port 12 */
23
#define PORT_13 0x0D00
/* IO port 13 */
24
#define PORT_14 0x0E00
/* IO port 14 */
25
#define PORT_15 0x0F00
/* IO port 15 */
26
#define PORT_16 0x1000
/* IO port 16 */
27
#define PORT_17 0x1100
/* IO port 17 */
28
#define PORT_18 0x1200
/* IO port 18 */
29
#define PORT_19 0x1300
/* IO port 19 */
30
#define PORT_20 0x1400
/* IO port 20 */
31
#define PORT_21 0x1500
/* IO port 21 */
32
#define PORT_22 0x1600
/* IO port 22 */
33
#define PORT_23 0x1700
/* IO port 23 */
34
#define PORT_24 0x1800
/* IO port 24 */
35
36
/*
37
* Create the value contain port/pin/function information
38
*
39
* port: port number BSP_IO_PORT_00..BSP_IO_PORT_24
40
* pin: pin number
41
* func: pin function
42
*/
43
#define RZT_PINMUX(port, pin, func) (port | pin | (func << 4))
44
45
#endif
/* ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_RENESAS_PINCTRL_RZT_COMMON_H_ */
zephyr
dt-bindings
pinctrl
renesas
pinctrl-rzt-common.h
Generated on Mon Apr 14 2025 00:06:02 for Zephyr API Documentation by
1.12.0