|
Zephyr Project API 4.4.99
A Scalable Open Source RTOS
|
Macros for pin multiplexing configuration on FocalTech FT9001. More...
Topics | |
| FT9001 IOCTRL register offsets | |
| Register offsets used as reg arguments to FOCALTECH_PINMUX. | |
Files | |
| file | focaltech_ft9001_pinctrl.h |
| Devicetree pin control helpers for FocalTech FT9001. | |
Macros | |
| #define | FOCALTECH_PINMUX(reg, bit, value) |
Encode one pinmux cell for FT9001 pinctrl devicetree properties. | |
Macros for pin multiplexing configuration on FocalTech FT9001.
These helpers describe IO mux selections for the devicetree node compatible with focaltech,ft9001-pinctrl. Each entry in a pinmux property is formed with FOCALTECH_PINMUX, passing one of the IO controller register offsets from FT9001 IOCTRL register offsets, the bit index within that register that controls the pad or signal, and the mux select value for that field (0 = default, 1 = alternate).
| #define FOCALTECH_PINMUX | ( | reg, | |
| bit, | |||
| value ) |
#include <focaltech_ft9001_pinctrl.h>
Encode one pinmux cell for FT9001 pinctrl devicetree properties.
| reg | IO mux register offset (use FOCALTECH_IOCTRL_*_OFFSET). |
| bit | Bit index inside reg for this mux control field. |
| value | Mux selection written to that field. |