Zephyr API Documentation 4.2.99
A Scalable Open Source RTOS
 4.2.99
ene-kb106x-pinctrl.h File Reference

Go to the source code of this file.

Macros

#define PINMUX_FUNC_GPIO   0x00
#define PINMUX_FUNC_A   0x00
#define PINMUX_FUNC_B   0x01
#define PINMUX_FUNC_C   0x02
#define PINMUX_FUNC_D   0x03
#define PINMUX_FUNC_MAX   0x04
#define ENE_KB106X_NO_PUD_POS   12
#define ENE_KB106X_PD_POS   13
#define ENE_KB106X_PU_POS   14
#define ENE_KB106X_PUSH_PULL_POS   15
#define ENE_KB106X_OPEN_DRAIN_POS   16
#define ENE_KB106X_OUT_DIS_POS   17
#define ENE_KB106X_OUT_EN_POS   18
#define ENE_KB106X_OUT_HI_POS   19
#define ENE_KB106X_OUT_LO_POS   20
#define ENE_KB106X_PIN_LOW_POWER_POS   21
#define ENE_KB106X_IN_DIS_POS   22
#define ENE_KB106X_IN_EN_POS   23
#define ENE_KB106X_DRIVING_POS   31
#define ENE_KB106X_PINMUX_PORT_POS   5
#define ENE_KB106X_PINMUX_PORT_MSK   0x7
#define ENE_KB106X_PINMUX_PIN_POS   0
#define ENE_KB106X_PINMUX_PIN_MSK   0x1f
#define ENE_KB106X_PINMUX_FUNC_POS   8
#define ENE_KB106X_PINMUX_FUNC_MSK   0xf
#define ENE_KB106X_EXTENDED_BANK   0x80
#define ENE_KB106X_PINMUX(n, f)

Macro Definition Documentation

◆ ENE_KB106X_DRIVING_POS

#define ENE_KB106X_DRIVING_POS   31

◆ ENE_KB106X_EXTENDED_BANK

#define ENE_KB106X_EXTENDED_BANK   0x80

◆ ENE_KB106X_IN_DIS_POS

#define ENE_KB106X_IN_DIS_POS   22

◆ ENE_KB106X_IN_EN_POS

#define ENE_KB106X_IN_EN_POS   23

◆ ENE_KB106X_NO_PUD_POS

#define ENE_KB106X_NO_PUD_POS   12

◆ ENE_KB106X_OPEN_DRAIN_POS

#define ENE_KB106X_OPEN_DRAIN_POS   16

◆ ENE_KB106X_OUT_DIS_POS

#define ENE_KB106X_OUT_DIS_POS   17

◆ ENE_KB106X_OUT_EN_POS

#define ENE_KB106X_OUT_EN_POS   18

◆ ENE_KB106X_OUT_HI_POS

#define ENE_KB106X_OUT_HI_POS   19

◆ ENE_KB106X_OUT_LO_POS

#define ENE_KB106X_OUT_LO_POS   20

◆ ENE_KB106X_PD_POS

#define ENE_KB106X_PD_POS   13

◆ ENE_KB106X_PIN_LOW_POWER_POS

#define ENE_KB106X_PIN_LOW_POWER_POS   21

◆ ENE_KB106X_PINMUX

#define ENE_KB106X_PINMUX ( n,
f )
Value:
#define ENE_KB106X_PINMUX_FUNC_POS
Definition ene-kb106x-pinctrl.h:37
#define ENE_KB106X_PINMUX_PORT_MSK
Definition ene-kb106x-pinctrl.h:34
#define ENE_KB106X_PINMUX_PIN_MSK
Definition ene-kb106x-pinctrl.h:36
#define ENE_KB106X_PINMUX_FUNC_MSK
Definition ene-kb106x-pinctrl.h:38
#define ENE_KB106X_PINMUX_PORT_POS
Definition ene-kb106x-pinctrl.h:33
#define ENE_KB106X_PINMUX_PIN_POS
Definition ene-kb106x-pinctrl.h:35

◆ ENE_KB106X_PINMUX_FUNC_MSK

#define ENE_KB106X_PINMUX_FUNC_MSK   0xf

◆ ENE_KB106X_PINMUX_FUNC_POS

#define ENE_KB106X_PINMUX_FUNC_POS   8

◆ ENE_KB106X_PINMUX_PIN_MSK

#define ENE_KB106X_PINMUX_PIN_MSK   0x1f

◆ ENE_KB106X_PINMUX_PIN_POS

#define ENE_KB106X_PINMUX_PIN_POS   0

◆ ENE_KB106X_PINMUX_PORT_MSK

#define ENE_KB106X_PINMUX_PORT_MSK   0x7

◆ ENE_KB106X_PINMUX_PORT_POS

#define ENE_KB106X_PINMUX_PORT_POS   5

◆ ENE_KB106X_PU_POS

#define ENE_KB106X_PU_POS   14

◆ ENE_KB106X_PUSH_PULL_POS

#define ENE_KB106X_PUSH_PULL_POS   15

◆ PINMUX_FUNC_A

#define PINMUX_FUNC_A   0x00

◆ PINMUX_FUNC_B

#define PINMUX_FUNC_B   0x01

◆ PINMUX_FUNC_C

#define PINMUX_FUNC_C   0x02

◆ PINMUX_FUNC_D

#define PINMUX_FUNC_D   0x03

◆ PINMUX_FUNC_GPIO

#define PINMUX_FUNC_GPIO   0x00

◆ PINMUX_FUNC_MAX

#define PINMUX_FUNC_MAX   0x04