Zephyr API Documentation 4.3.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
pinctrl-rzn-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_RZN_COMMON_H_
16#define ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_RENESAS_PINCTRL_RZN_COMMON_H_
17
22
23#define PORT_00 0x0000
24#define PORT_01 0x0100
25#define PORT_02 0x0200
26#define PORT_03 0x0300
27#define PORT_04 0x0400
28#define PORT_05 0x0500
29#define PORT_06 0x0600
30#define PORT_07 0x0700
31#define PORT_08 0x0800
32#define PORT_09 0x0900
33#define PORT_10 0x0A00
34#define PORT_11 0x0B00
35#define PORT_12 0x0C00
36#define PORT_13 0x0D00
37#define PORT_14 0x0E00
38#define PORT_15 0x0F00
39#define PORT_16 0x1000
40#define PORT_17 0x1100
41#define PORT_18 0x1200
42#define PORT_19 0x1300
43#define PORT_20 0x1400
44#define PORT_21 0x1500
45#define PORT_22 0x1600
46#define PORT_23 0x1700
47#define PORT_24 0x1800
48#define PORT_25 0x1900
49#define PORT_26 0x1A00
50#define PORT_27 0x1B00
51#define PORT_29 0x1D00
52#define PORT_30 0x1E00
53#define PORT_31 0x1F00
54#define PORT_33 0x2100
55#define PORT_34 0x2200
56
58
68#define RZN_PINMUX(port, pin, func) (port | pin | (func << 16))
69
70#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_RENESAS_PINCTRL_RZN_COMMON_H_ */