Zephyr Project API 4.3.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
pinctrl-rzt-common.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2025-2026 Renesas Electronics Corporation
3 * SPDX-License-Identifier: Apache-2.0
4 */
5
14
15#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_RENESAS_PINCTRL_RZT_COMMON_H_
16#define ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_RENESAS_PINCTRL_RZT_COMMON_H_
17
22
23/* Superset list of all possible IO ports. */
24#define PORT_00 0x0000
25#define PORT_01 0x0100
26#define PORT_02 0x0200
27#define PORT_03 0x0300
28#define PORT_04 0x0400
29#define PORT_05 0x0500
30#define PORT_06 0x0600
31#define PORT_07 0x0700
32#define PORT_08 0x0800
33#define PORT_09 0x0900
34#define PORT_10 0x0A00
35#define PORT_11 0x0B00
36#define PORT_12 0x0C00
37#define PORT_13 0x0D00
38#define PORT_14 0x0E00
39#define PORT_15 0x0F00
40#define PORT_16 0x1000
41#define PORT_17 0x1100
42#define PORT_18 0x1200
43#define PORT_19 0x1300
44#define PORT_20 0x1400
45#define PORT_21 0x1500
46#define PORT_22 0x1600
47#define PORT_23 0x1700
48#define PORT_24 0x1800
49#define PORT_25 0x1900
50#define PORT_26 0x1A00
51#define PORT_27 0x1B00
52#define PORT_29 0x1D00
53#define PORT_30 0x1E00
54#define PORT_31 0x1F00
55#define PORT_33 0x2100
56#define PORT_34 0x2200
57#define PORT_35 0x2300
58
60
70#define RZT_PINMUX(port, pin, func) (port | pin | (func << 16))
71
72#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_RENESAS_PINCTRL_RZT_COMMON_H_ */