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

Go to the source code of this file.

Macros

#define PORT_00   0x0000 /* IO port 0 */
 
#define PORT_01   0x1000 /* IO port 1 */
 
#define PORT_02   0x1100 /* IO port 2 */
 
#define PORT_03   0x1200 /* IO port 3 */
 
#define PORT_04   0x1300 /* IO port 4 */
 
#define PORT_05   0x0100 /* IO port 5 */
 
#define PORT_06   0x0200 /* IO port 6 */
 
#define PORT_07   0x1400 /* IO port 7 */
 
#define PORT_08   0x1500 /* IO port 8 */
 
#define PORT_09   0x1600 /* IO port 9 */
 
#define PORT_10   0x1700 /* IO port 10 */
 
#define PORT_11   0x0300 /* IO port 11 */
 
#define PORT_12   0x0400 /* IO port 12 */
 
#define PORT_13   0x0500 /* IO port 13 */
 
#define PORT_14   0x0600 /* IO port 14 */
 
#define PORT_15   0x0700 /* IO port 15 */
 
#define PORT_16   0x0800 /* IO port 16 */
 
#define PORT_17   0x0900 /* IO port 17 */
 
#define PORT_18   0x0A00 /* IO port 18 */
 
#define RZG_PINMUX(port, pin, func)
 
#define BSP_IO_NMI   0xFFFF0000 /* NMI */
 
#define BSP_IO_TMS_SWDIO   0xFFFF0100 /* TMS_SWDIO */
 
#define BSP_IO_TDO   0xFFFF0101 /* TDO */
 
#define BSP_IO_AUDIO_CLK1   0xFFFF0200 /* AUDIO_CLK1 */
 
#define BSP_IO_AUDIO_CLK2   0xFFFF0201 /* AUDIO_CLK2 */
 
#define BSP_IO_XSPI_SPCLK   0xFFFF0400 /* XSPI_SPCLK */
 
#define BSP_IO_XSPI_RESET_N   0xFFFF0401 /* XSPI_RESET_N */
 
#define BSP_IO_XSPI_WP_N   0xFFFF0402 /* XSPI_WP_N */
 
#define BSP_IO_XSPI_DS   0xFFFF0403 /* XSPI_DS */
 
#define BSP_IO_XSPI_CS0_N   0xFFFF0404 /* XSPI_CS0_N */
 
#define BSP_IO_XSPI_CS1_N   0xFFFF0405 /* XSPI_CS1_N */
 
#define BSP_IO_XSPI_IO0   0xFFFF0500 /* XSPI_IO0 */
 
#define BSP_IO_XSPI_IO1   0xFFFF0501 /* XSPI_IO1 */
 
#define BSP_IO_XSPI_IO2   0xFFFF0502 /* XSPI_IO2 */
 
#define BSP_IO_XSPI_IO3   0xFFFF0503 /* XSPI_IO3 */
 
#define BSP_IO_XSPI_IO4   0xFFFF0504 /* XSPI_IO4 */
 
#define BSP_IO_XSPI_IO5   0xFFFF0505 /* XSPI_IO5 */
 
#define BSP_IO_XSPI_IO6   0xFFFF0506 /* XSPI_IO6 */
 
#define BSP_IO_XSPI_IO7   0xFFFF0507 /* XSPI_IO7 */
 
#define BSP_IO_WDTOVF_PERROUT   0xFFFF0600 /* WDTOVF_PERROUT */
 
#define BSP_IO_I3C_SDA   0xFFFF0900 /* I3C_SDA */
 
#define BSP_IO_I3C_SCL   0xFFFF0901 /* I3C_SCL */
 
#define BSP_IO_SD0_CLK   0xFFFF1000 /* CD0_CLK */
 
#define BSP_IO_SD0_CMD   0xFFFF1001 /* CD0_CMD */
 
#define BSP_IO_SD0_RST_N   0xFFFF1002 /* CD0_RST_N */
 
#define BSP_IO_SD0_DATA0   0xFFFF1100 /* SD0_DATA0 */
 
#define BSP_IO_SD0_DATA1   0xFFFF1101 /* SD0_DATA1 */
 
#define BSP_IO_SD0_DATA2   0xFFFF1102 /* SD0_DATA2 */
 
#define BSP_IO_SD0_DATA3   0xFFFF1103 /* SD0_DATA3 */
 
#define BSP_IO_SD0_DATA4   0xFFFF1104 /* SD0_DATA4 */
 
#define BSP_IO_SD0_DATA5   0xFFFF1105 /* SD0_DATA5 */
 
#define BSP_IO_SD0_DATA6   0xFFFF1106 /* SD0_DATA6 */
 
#define BSP_IO_SD0_DATA7   0xFFFF1107 /* SD0_DATA7 */
 
#define BSP_IO_SD1_CLK   0xFFFF1200 /* SD1_CLK */
 
#define BSP_IO_SD1_CMD   0xFFFF1201 /* SD1_CMD */
 
#define BSP_IO_SD1_DATA0   0xFFFF1300 /* SD1_DATA0 */
 
#define BSP_IO_SD1_DATA1   0xFFFF1301 /* SD1_DATA1 */
 
#define BSP_IO_SD1_DATA2   0xFFFF1302 /* SD1_DATA2 */
 
#define BSP_IO_SD1_DATA3   0xFFFF1303 /* SD1_DATA3 */
 
#define RZG_FILNUM_4_STAGE   0
 
#define RZG_FILNUM_8_STAGE   1
 
#define RZG_FILNUM_12_STAGE   2
 
#define RZG_FILNUM_16_STAGE   3
 
#define RZG_FILCLKSEL_NOT_DIV   0
 
#define RZG_FILCLKSEL_DIV_9000   1
 
#define RZG_FILCLKSEL_DIV_18000   2
 
#define RZG_FILCLKSEL_DIV_36000   3
 
#define RZG_FILTER_SET(filnum, filclksel)
 

Macro Definition Documentation

◆ BSP_IO_AUDIO_CLK1

#define BSP_IO_AUDIO_CLK1   0xFFFF0200 /* AUDIO_CLK1 */

◆ BSP_IO_AUDIO_CLK2

#define BSP_IO_AUDIO_CLK2   0xFFFF0201 /* AUDIO_CLK2 */

◆ BSP_IO_I3C_SCL

#define BSP_IO_I3C_SCL   0xFFFF0901 /* I3C_SCL */

◆ BSP_IO_I3C_SDA

#define BSP_IO_I3C_SDA   0xFFFF0900 /* I3C_SDA */

◆ BSP_IO_NMI

#define BSP_IO_NMI   0xFFFF0000 /* NMI */

◆ BSP_IO_SD0_CLK

#define BSP_IO_SD0_CLK   0xFFFF1000 /* CD0_CLK */

◆ BSP_IO_SD0_CMD

#define BSP_IO_SD0_CMD   0xFFFF1001 /* CD0_CMD */

◆ BSP_IO_SD0_DATA0

#define BSP_IO_SD0_DATA0   0xFFFF1100 /* SD0_DATA0 */

◆ BSP_IO_SD0_DATA1

#define BSP_IO_SD0_DATA1   0xFFFF1101 /* SD0_DATA1 */

◆ BSP_IO_SD0_DATA2

#define BSP_IO_SD0_DATA2   0xFFFF1102 /* SD0_DATA2 */

◆ BSP_IO_SD0_DATA3

#define BSP_IO_SD0_DATA3   0xFFFF1103 /* SD0_DATA3 */

◆ BSP_IO_SD0_DATA4

#define BSP_IO_SD0_DATA4   0xFFFF1104 /* SD0_DATA4 */

◆ BSP_IO_SD0_DATA5

#define BSP_IO_SD0_DATA5   0xFFFF1105 /* SD0_DATA5 */

◆ BSP_IO_SD0_DATA6

#define BSP_IO_SD0_DATA6   0xFFFF1106 /* SD0_DATA6 */

◆ BSP_IO_SD0_DATA7

#define BSP_IO_SD0_DATA7   0xFFFF1107 /* SD0_DATA7 */

◆ BSP_IO_SD0_RST_N

#define BSP_IO_SD0_RST_N   0xFFFF1002 /* CD0_RST_N */

◆ BSP_IO_SD1_CLK

#define BSP_IO_SD1_CLK   0xFFFF1200 /* SD1_CLK */

◆ BSP_IO_SD1_CMD

#define BSP_IO_SD1_CMD   0xFFFF1201 /* SD1_CMD */

◆ BSP_IO_SD1_DATA0

#define BSP_IO_SD1_DATA0   0xFFFF1300 /* SD1_DATA0 */

◆ BSP_IO_SD1_DATA1

#define BSP_IO_SD1_DATA1   0xFFFF1301 /* SD1_DATA1 */

◆ BSP_IO_SD1_DATA2

#define BSP_IO_SD1_DATA2   0xFFFF1302 /* SD1_DATA2 */

◆ BSP_IO_SD1_DATA3

#define BSP_IO_SD1_DATA3   0xFFFF1303 /* SD1_DATA3 */

◆ BSP_IO_TDO

#define BSP_IO_TDO   0xFFFF0101 /* TDO */

◆ BSP_IO_TMS_SWDIO

#define BSP_IO_TMS_SWDIO   0xFFFF0100 /* TMS_SWDIO */

◆ BSP_IO_WDTOVF_PERROUT

#define BSP_IO_WDTOVF_PERROUT   0xFFFF0600 /* WDTOVF_PERROUT */

◆ BSP_IO_XSPI_CS0_N

#define BSP_IO_XSPI_CS0_N   0xFFFF0404 /* XSPI_CS0_N */

◆ BSP_IO_XSPI_CS1_N

#define BSP_IO_XSPI_CS1_N   0xFFFF0405 /* XSPI_CS1_N */

◆ BSP_IO_XSPI_DS

#define BSP_IO_XSPI_DS   0xFFFF0403 /* XSPI_DS */

◆ BSP_IO_XSPI_IO0

#define BSP_IO_XSPI_IO0   0xFFFF0500 /* XSPI_IO0 */

◆ BSP_IO_XSPI_IO1

#define BSP_IO_XSPI_IO1   0xFFFF0501 /* XSPI_IO1 */

◆ BSP_IO_XSPI_IO2

#define BSP_IO_XSPI_IO2   0xFFFF0502 /* XSPI_IO2 */

◆ BSP_IO_XSPI_IO3

#define BSP_IO_XSPI_IO3   0xFFFF0503 /* XSPI_IO3 */

◆ BSP_IO_XSPI_IO4

#define BSP_IO_XSPI_IO4   0xFFFF0504 /* XSPI_IO4 */

◆ BSP_IO_XSPI_IO5

#define BSP_IO_XSPI_IO5   0xFFFF0505 /* XSPI_IO5 */

◆ BSP_IO_XSPI_IO6

#define BSP_IO_XSPI_IO6   0xFFFF0506 /* XSPI_IO6 */

◆ BSP_IO_XSPI_IO7

#define BSP_IO_XSPI_IO7   0xFFFF0507 /* XSPI_IO7 */

◆ BSP_IO_XSPI_RESET_N

#define BSP_IO_XSPI_RESET_N   0xFFFF0401 /* XSPI_RESET_N */

◆ BSP_IO_XSPI_SPCLK

#define BSP_IO_XSPI_SPCLK   0xFFFF0400 /* XSPI_SPCLK */

◆ BSP_IO_XSPI_WP_N

#define BSP_IO_XSPI_WP_N   0xFFFF0402 /* XSPI_WP_N */

◆ PORT_00

#define PORT_00   0x0000 /* IO port 0 */

◆ PORT_01

#define PORT_01   0x1000 /* IO port 1 */

◆ PORT_02

#define PORT_02   0x1100 /* IO port 2 */

◆ PORT_03

#define PORT_03   0x1200 /* IO port 3 */

◆ PORT_04

#define PORT_04   0x1300 /* IO port 4 */

◆ PORT_05

#define PORT_05   0x0100 /* IO port 5 */

◆ PORT_06

#define PORT_06   0x0200 /* IO port 6 */

◆ PORT_07

#define PORT_07   0x1400 /* IO port 7 */

◆ PORT_08

#define PORT_08   0x1500 /* IO port 8 */

◆ PORT_09

#define PORT_09   0x1600 /* IO port 9 */

◆ PORT_10

#define PORT_10   0x1700 /* IO port 10 */

◆ PORT_11

#define PORT_11   0x0300 /* IO port 11 */

◆ PORT_12

#define PORT_12   0x0400 /* IO port 12 */

◆ PORT_13

#define PORT_13   0x0500 /* IO port 13 */

◆ PORT_14

#define PORT_14   0x0600 /* IO port 14 */

◆ PORT_15

#define PORT_15   0x0700 /* IO port 15 */

◆ PORT_16

#define PORT_16   0x0800 /* IO port 16 */

◆ PORT_17

#define PORT_17   0x0900 /* IO port 17 */

◆ PORT_18

#define PORT_18   0x0A00 /* IO port 18 */

◆ RZG_FILCLKSEL_DIV_18000

#define RZG_FILCLKSEL_DIV_18000   2

◆ RZG_FILCLKSEL_DIV_36000

#define RZG_FILCLKSEL_DIV_36000   3

◆ RZG_FILCLKSEL_DIV_9000

#define RZG_FILCLKSEL_DIV_9000   1

◆ RZG_FILCLKSEL_NOT_DIV

#define RZG_FILCLKSEL_NOT_DIV   0

◆ RZG_FILNUM_12_STAGE

#define RZG_FILNUM_12_STAGE   2

◆ RZG_FILNUM_16_STAGE

#define RZG_FILNUM_16_STAGE   3

◆ RZG_FILNUM_4_STAGE

#define RZG_FILNUM_4_STAGE   0

◆ RZG_FILNUM_8_STAGE

#define RZG_FILNUM_8_STAGE   1

◆ RZG_FILTER_SET

#define RZG_FILTER_SET ( filnum,
filclksel )
Value:
(((filnum) & 0x3) << 0x2) | (filclksel & 0x3)

◆ RZG_PINMUX

#define RZG_PINMUX ( port,
pin,
func )
Value:
(port | pin | (func << 4))