|
GrowNode
|
Data Structures | |
| struct | gn_gpio_data_t |
Macros | |
| #define | LOG_LOCAL_LEVEL ESP_LOG_VERBOSE |
| #define | TAG "gn_leaf_gpio" |
Functions | |
| gn_leaf_handle_t | gn_gpio_fastcreate (gn_node_handle_t node, const char *leaf_name, int gpio, bool inverted, bool toggled) |
| void | gn_gpio_task (gn_leaf_handle_t leaf_config) |
| gn_leaf_descriptor_handle_t | gn_gpio_config (gn_leaf_handle_t leaf_config) |
| #define LOG_LOCAL_LEVEL ESP_LOG_VERBOSE |
| #define TAG "gn_leaf_gpio" |
| gn_leaf_descriptor_handle_t gn_gpio_config | ( | gn_leaf_handle_t | leaf_config | ) |
| gn_leaf_handle_t gn_gpio_fastcreate | ( | gn_node_handle_t | node, |
| const char * | leaf_name, | ||
| int | gpio, | ||
| bool | inverted, | ||
| bool | toggled | ||
| ) |
creates a GPIO leaf defining all parameters
| node | the parent node |
| leaf_name | the name of the leaf to be created |
| gpio | the GPIO number to attach this leaf |
| inverted | if the GPIO need to work in inverted mode (toggle = true -> gpio = false) |
| toggled | the initial status |
| void gn_gpio_task | ( | gn_leaf_handle_t | leaf_config | ) |