| Zephyr API Documentation
    2.7.0-rc2
    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) DT_PHANDLE_BY_IDX(node_id, gpio_pha, idx) | 
| Get the node identifier for the controller phandle from a gpio phandle-array property at an index.  More... | |
| #define | DT_GPIO_CTLR(node_id, gpio_pha) DT_GPIO_CTLR_BY_IDX(node_id, gpio_pha, 0) | 
| Equivalent to DT_GPIO_CTLR_BY_IDX(node_id, gpio_pha, 0)  More... | |
| #define | DT_GPIO_LABEL_BY_IDX(node_id, gpio_pha, idx) DT_PROP(DT_GPIO_CTLR_BY_IDX(node_id, gpio_pha, idx), label) | 
| Get a label property from a gpio phandle-array property at an index.  More... | |
| #define | DT_GPIO_LABEL(node_id, gpio_pha) DT_GPIO_LABEL_BY_IDX(node_id, gpio_pha, 0) | 
| Equivalent to DT_GPIO_LABEL_BY_IDX(node_id, gpio_pha, 0)  More... | |
| #define | DT_GPIO_PIN_BY_IDX(node_id, gpio_pha, idx) DT_PHA_BY_IDX(node_id, gpio_pha, idx, pin) | 
| Get a GPIO specifier's pin cell at an index.  More... | |
| #define | DT_GPIO_PIN(node_id, gpio_pha) DT_GPIO_PIN_BY_IDX(node_id, gpio_pha, 0) | 
| Equivalent to DT_GPIO_PIN_BY_IDX(node_id, gpio_pha, 0)  More... | |
| #define | DT_GPIO_FLAGS_BY_IDX(node_id, gpio_pha, idx) DT_PHA_BY_IDX_OR(node_id, gpio_pha, idx, flags, 0) | 
| Get a GPIO specifier's flags cell at an index.  More... | |
| #define | DT_GPIO_FLAGS(node_id, gpio_pha) DT_GPIO_FLAGS_BY_IDX(node_id, gpio_pha, 0) | 
| Equivalent to DT_GPIO_FLAGS_BY_IDX(node_id, gpio_pha, 0)  More... | |
| #define | DT_INST_GPIO_LABEL_BY_IDX(inst, gpio_pha, idx) DT_GPIO_LABEL_BY_IDX(DT_DRV_INST(inst), gpio_pha, idx) | 
| Get a label property from a DT_DRV_COMPAT instance's GPIO property at an index.  More... | |
| #define | DT_INST_GPIO_LABEL(inst, gpio_pha) DT_INST_GPIO_LABEL_BY_IDX(inst, gpio_pha, 0) | 
| Equivalent to DT_INST_GPIO_LABEL_BY_IDX(inst, gpio_pha, 0)  More... | |
| #define | DT_INST_GPIO_PIN_BY_IDX(inst, gpio_pha, idx) DT_GPIO_PIN_BY_IDX(DT_DRV_INST(inst), gpio_pha, idx) | 
| Get a DT_DRV_COMPAT instance's GPIO specifier's pin cell value at an index.  More... | |
| #define | DT_INST_GPIO_PIN(inst, gpio_pha) DT_INST_GPIO_PIN_BY_IDX(inst, gpio_pha, 0) | 
| Equivalent to DT_INST_GPIO_PIN_BY_IDX(inst, gpio_pha, 0)  More... | |
| #define | DT_INST_GPIO_FLAGS_BY_IDX(inst, gpio_pha, idx) DT_GPIO_FLAGS_BY_IDX(DT_DRV_INST(inst), gpio_pha, idx) | 
| Get a DT_DRV_COMPAT instance's GPIO specifier's flags cell at an index.  More... | |
| #define | DT_INST_GPIO_FLAGS(inst, gpio_pha) DT_INST_GPIO_FLAGS_BY_IDX(inst, gpio_pha, 0) | 
| Equivalent to DT_INST_GPIO_FLAGS_BY_IDX(inst, gpio_pha, 0)  More... | |
GPIO Devicetree macro public API header file.