Zephyr API Documentation 4.3.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
pinctrl-rzn-common.h File Reference

Renesas RZ/N pin control (pinctrl) definitions for Zephyr. More...

Go to the source code of this file.

Macros

#define RZN_PINMUX(port, pin, func)
 Create an encoded value containing port/pin/function information.
Renesas RZ/N I/O Ports.
#define PORT_00   0x0000
 IO port 0.
#define PORT_01   0x0100
 IO port 1.
#define PORT_02   0x0200
 IO port 2.
#define PORT_03   0x0300
 IO port 3.
#define PORT_04   0x0400
 IO port 4.
#define PORT_05   0x0500
 IO port 5.
#define PORT_06   0x0600
 IO port 6.
#define PORT_07   0x0700
 IO port 7.
#define PORT_08   0x0800
 IO port 8.
#define PORT_09   0x0900
 IO port 9.
#define PORT_10   0x0A00
 IO port 10.
#define PORT_11   0x0B00
 IO port 11.
#define PORT_12   0x0C00
 IO port 12.
#define PORT_13   0x0D00
 IO port 13.
#define PORT_14   0x0E00
 IO port 14.
#define PORT_15   0x0F00
 IO port 15.
#define PORT_16   0x1000
 IO port 16.
#define PORT_17   0x1100
 IO port 17.
#define PORT_18   0x1200
 IO port 18.
#define PORT_19   0x1300
 IO port 19.
#define PORT_20   0x1400
 IO port 20.
#define PORT_21   0x1500
 IO port 21.
#define PORT_22   0x1600
 IO port 22.
#define PORT_23   0x1700
 IO port 23.
#define PORT_24   0x1800
 IO port 24.
#define PORT_25   0x1900
 IO port 25.
#define PORT_26   0x1A00
 IO port 26.
#define PORT_27   0x1B00
 IO port 27.
#define PORT_29   0x1D00
 IO port 29.
#define PORT_30   0x1E00
 IO port 30.
#define PORT_31   0x1F00
 IO port 31.
#define PORT_33   0x2100
 IO port 33.
#define PORT_34   0x2200
 IO port 34.

Detailed Description

Renesas RZ/N pin control (pinctrl) definitions for Zephyr.

This header provides macro constants for encoding pin function selections and pin indices for Renesas RZ/N Series. These values are used by the DeviceTree pinctrl subsystem to describe peripheral pin mappings.

Macro Definition Documentation

◆ PORT_00

#define PORT_00   0x0000

IO port 0.

◆ PORT_01

#define PORT_01   0x0100

IO port 1.

◆ PORT_02

#define PORT_02   0x0200

IO port 2.

◆ PORT_03

#define PORT_03   0x0300

IO port 3.

◆ PORT_04

#define PORT_04   0x0400

IO port 4.

◆ PORT_05

#define PORT_05   0x0500

IO port 5.

◆ PORT_06

#define PORT_06   0x0600

IO port 6.

◆ PORT_07

#define PORT_07   0x0700

IO port 7.

◆ PORT_08

#define PORT_08   0x0800

IO port 8.

◆ PORT_09

#define PORT_09   0x0900

IO port 9.

◆ PORT_10

#define PORT_10   0x0A00

IO port 10.

◆ PORT_11

#define PORT_11   0x0B00

IO port 11.

◆ PORT_12

#define PORT_12   0x0C00

IO port 12.

◆ PORT_13

#define PORT_13   0x0D00

IO port 13.

◆ PORT_14

#define PORT_14   0x0E00

IO port 14.

◆ PORT_15

#define PORT_15   0x0F00

IO port 15.

◆ PORT_16

#define PORT_16   0x1000

IO port 16.

◆ PORT_17

#define PORT_17   0x1100

IO port 17.

◆ PORT_18

#define PORT_18   0x1200

IO port 18.

◆ PORT_19

#define PORT_19   0x1300

IO port 19.

◆ PORT_20

#define PORT_20   0x1400

IO port 20.

◆ PORT_21

#define PORT_21   0x1500

IO port 21.

◆ PORT_22

#define PORT_22   0x1600

IO port 22.

◆ PORT_23

#define PORT_23   0x1700

IO port 23.

◆ PORT_24

#define PORT_24   0x1800

IO port 24.

◆ PORT_25

#define PORT_25   0x1900

IO port 25.

◆ PORT_26

#define PORT_26   0x1A00

IO port 26.

◆ PORT_27

#define PORT_27   0x1B00

IO port 27.

◆ PORT_29

#define PORT_29   0x1D00

IO port 29.

◆ PORT_30

#define PORT_30   0x1E00

IO port 30.

◆ PORT_31

#define PORT_31   0x1F00

IO port 31.

◆ PORT_33

#define PORT_33   0x2100

IO port 33.

◆ PORT_34

#define PORT_34   0x2200

IO port 34.

◆ RZN_PINMUX

#define RZN_PINMUX ( port,
pin,
func )
Value:
(port | pin | (func << 16))

Create an encoded value containing port/pin/function information.

Parameters
portPort identifier (PORT_00..PORT_34).
pinPin number within the port.
funcPin function selector (encoded in bits [21:16])
Returns
Encoded pinmux value.