Zephyr Project API 4.1.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
pinctrl-rza2m.h File Reference

Go to the source code of this file.

Macros

#define RZA2M_PIN_NUM_IN_PORT   8
 
#define PORT_00   0
 
#define PORT_01   1
 
#define PORT_02   2
 
#define PORT_03   3
 
#define PORT_04   4
 
#define PORT_05   5
 
#define PORT_06   6
 
#define PORT_07   7
 
#define PORT_08   8
 
#define PORT_09   9
 
#define PORT_A   10
 
#define PORT_B   11
 
#define PORT_C   12
 
#define PORT_D   13
 
#define PORT_E   14
 
#define PORT_F   15
 
#define PORT_G   16
 
#define PORT_H   17
 
#define PORT_J   18
 
#define PORT_K   19
 
#define PORT_L   20
 
#define PORT_M   21 /* Pins PM_0/1 are labeled JP_0/1 in HW manual */
 
#define PORT_CKIO   22
 
#define PORT_PPOC   23 /* Select between 1.8V and 3.3V for SPI and SD/MMC */
 
#define PIN_POSEL   0 /* Sets function for POSEL0 bits. 00, 01, 10 - 1.8v, 11 - 3.3v */
 
#define PIN_POC2   1 /* Sets function for SSD host 0, 0 - 1.8v 1 - 3.3v */
 
#define PIN_POC3   2 /* Sets function for SSD host 1, 0 - 1.8v 1 - 3.3v */
 
#define RZA2M_PINMUX(b, p, f)   ((b) * RZA2M_PIN_NUM_IN_PORT + (p) | (f << 16))
 
#define CKIO_DRV   RZA2M_PINMUX(PORT_CKIO, 0, 0)
 

Macro Definition Documentation

◆ CKIO_DRV

#define CKIO_DRV   RZA2M_PINMUX(PORT_CKIO, 0, 0)

◆ PIN_POC2

#define PIN_POC2   1 /* Sets function for SSD host 0, 0 - 1.8v 1 - 3.3v */

◆ PIN_POC3

#define PIN_POC3   2 /* Sets function for SSD host 1, 0 - 1.8v 1 - 3.3v */

◆ PIN_POSEL

#define PIN_POSEL   0 /* Sets function for POSEL0 bits. 00, 01, 10 - 1.8v, 11 - 3.3v */

◆ PORT_00

#define PORT_00   0

◆ PORT_01

#define PORT_01   1

◆ PORT_02

#define PORT_02   2

◆ PORT_03

#define PORT_03   3

◆ PORT_04

#define PORT_04   4

◆ PORT_05

#define PORT_05   5

◆ PORT_06

#define PORT_06   6

◆ PORT_07

#define PORT_07   7

◆ PORT_08

#define PORT_08   8

◆ PORT_09

#define PORT_09   9

◆ PORT_A

#define PORT_A   10

◆ PORT_B

#define PORT_B   11

◆ PORT_C

#define PORT_C   12

◆ PORT_CKIO

#define PORT_CKIO   22

◆ PORT_D

#define PORT_D   13

◆ PORT_E

#define PORT_E   14

◆ PORT_F

#define PORT_F   15

◆ PORT_G

#define PORT_G   16

◆ PORT_H

#define PORT_H   17

◆ PORT_J

#define PORT_J   18

◆ PORT_K

#define PORT_K   19

◆ PORT_L

#define PORT_L   20

◆ PORT_M

#define PORT_M   21 /* Pins PM_0/1 are labeled JP_0/1 in HW manual */

◆ PORT_PPOC

#define PORT_PPOC   23 /* Select between 1.8V and 3.3V for SPI and SD/MMC */

◆ RZA2M_PIN_NUM_IN_PORT

#define RZA2M_PIN_NUM_IN_PORT   8

◆ RZA2M_PINMUX

#define RZA2M_PINMUX (   b,
  p,
 
)    ((b) * RZA2M_PIN_NUM_IN_PORT + (p) | (f << 16))