| 
    Zephyr Project API
    3.4.0
    
   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) __DEPRECATED_MACRO | 
| 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) __DEPRECATED_MACRO | 
| 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_NUM_GPIO_HOGS(node_id) | 
| Get the number of GPIO hogs in a node.  More... | |
| #define | DT_GPIO_HOG_PIN_BY_IDX(node_id, idx) DT_CAT4(node_id, _GPIO_HOGS_IDX_, idx, _VAL_pin) | 
| Get a GPIO hog specifier's pin cell at an index.  More... | |
| #define | DT_GPIO_HOG_FLAGS_BY_IDX(node_id, idx) | 
| Get a GPIO hog specifier's flags cell at an index.  More... | |
| #define | DT_INST_GPIO_LABEL_BY_IDX(inst, gpio_pha, idx) DT_GPIO_LABEL_BY_IDX(DT_DRV_INST(inst), gpio_pha, idx) __DEPRECATED_MACRO | 
| 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) __DEPRECATED_MACRO | 
| 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.