Zephyr API Documentation 4.0.0-rc3
A Scalable Open Source RTOS
|
GPIO Devicetree macro public API header file. More...
Go to the source code of this file.
Macros | |
#define | DT_GPIO_CTLR_BY_IDX(node_id, gpio_pha, idx) |
Get the node identifier for the controller phandle from a gpio phandle-array property at an index. | |
#define | DT_GPIO_CTLR(node_id, gpio_pha) |
Equivalent to DT_GPIO_CTLR_BY_IDX(node_id, gpio_pha, 0) | |
#define | DT_GPIO_PIN_BY_IDX(node_id, gpio_pha, idx) |
Get a GPIO specifier's pin cell at an index. | |
#define | DT_GPIO_PIN(node_id, gpio_pha) |
Equivalent to DT_GPIO_PIN_BY_IDX(node_id, gpio_pha, 0) | |
#define | DT_GPIO_FLAGS_BY_IDX(node_id, gpio_pha, idx) |
Get a GPIO specifier's flags cell at an index. | |
#define | DT_GPIO_FLAGS(node_id, gpio_pha) |
Equivalent to DT_GPIO_FLAGS_BY_IDX(node_id, gpio_pha, 0) | |
#define | DT_NUM_GPIO_HOGS(node_id) |
Get the number of GPIO hogs in a node. | |
#define | DT_GPIO_HOG_PIN_BY_IDX(node_id, idx) |
Get a GPIO hog specifier's pin cell at an index. | |
#define | DT_GPIO_HOG_FLAGS_BY_IDX(node_id, idx) |
Get a GPIO hog specifier's flags cell at an index. | |
#define | DT_INST_GPIO_PIN_BY_IDX(inst, gpio_pha, idx) |
Get a DT_DRV_COMPAT instance's GPIO specifier's pin cell value at an index. | |
#define | DT_INST_GPIO_PIN(inst, gpio_pha) |
Equivalent to DT_INST_GPIO_PIN_BY_IDX(inst, gpio_pha, 0) | |
#define | DT_INST_GPIO_FLAGS_BY_IDX(inst, gpio_pha, idx) |
Get a DT_DRV_COMPAT instance's GPIO specifier's flags cell at an index. | |
#define | DT_INST_GPIO_FLAGS(inst, gpio_pha) |
Equivalent to DT_INST_GPIO_FLAGS_BY_IDX(inst, gpio_pha, 0) | |
GPIO Devicetree macro public API header file.