GrowNode
gn_capacitive_water_level.c File Reference

Data Structures

struct  gn_cwl_data_t
 

Macros

#define TAG   "gn_leaf_cwl"
 
#define GN_CWL_TOUCH_THRESH   (0)
 
#define GN_CWL_TOUCHPAD_FILTER_TOUCH_PERIOD   (10)
 

Functions

void gn_capacitive_water_level_task (gn_leaf_handle_t leaf_config)
 
void gn_cwl_sensor_collect (gn_leaf_handle_t leaf_config)
 
gn_leaf_descriptor_handle_t gn_capacitive_water_level_config (gn_leaf_handle_t leaf_config)
 

Macro Definition Documentation

◆ GN_CWL_TOUCH_THRESH

#define GN_CWL_TOUCH_THRESH   (0)

◆ GN_CWL_TOUCHPAD_FILTER_TOUCH_PERIOD

#define GN_CWL_TOUCHPAD_FILTER_TOUCH_PERIOD   (10)

◆ TAG

#define TAG   "gn_leaf_cwl"

Function Documentation

◆ gn_capacitive_water_level_config()

gn_leaf_descriptor_handle_t gn_capacitive_water_level_config ( gn_leaf_handle_t  leaf_config)

◆ gn_capacitive_water_level_task()

void gn_capacitive_water_level_task ( gn_leaf_handle_t  leaf_config)

◆ gn_cwl_sensor_collect()

void gn_cwl_sensor_collect ( gn_leaf_handle_t  leaf_config)