GrowNode
gn_pump_hs.c File Reference

Data Structures

struct  gn_pump_hs_data_t
 

Macros

#define TAG   "gn_leaf_pump_hs"
 
#define GN_LEAF_PWM_FADE_SPEED   500
 

Functions

static bool cb_ledc_fade_end_event (const ledc_cb_param_t *param, void *user_arg)
 
void gn_leaf_pwm_task (gn_leaf_handle_t leaf_config)
 
gn_leaf_descriptor_handle_t gn_pump_hs_config (gn_leaf_handle_t leaf_config)
 

Variables

static const ledc_mode_t GN_PUMP_HS_PARAM_LEDC_MODE = LEDC_LOW_SPEED_MODE
 

Macro Definition Documentation

◆ GN_LEAF_PWM_FADE_SPEED

#define GN_LEAF_PWM_FADE_SPEED   500

define fade speed (msec)

◆ TAG

#define TAG   "gn_leaf_pump_hs"

Function Documentation

◆ cb_ledc_fade_end_event()

static bool cb_ledc_fade_end_event ( const ledc_cb_param_t *  param,
void *  user_arg 
)
static

◆ gn_leaf_pwm_task()

void gn_leaf_pwm_task ( gn_leaf_handle_t  leaf_config)

◆ gn_pump_hs_config()

gn_leaf_descriptor_handle_t gn_pump_hs_config ( gn_leaf_handle_t  leaf_config)

Variable Documentation

◆ GN_PUMP_HS_PARAM_LEDC_MODE

const ledc_mode_t GN_PUMP_HS_PARAM_LEDC_MODE = LEDC_LOW_SPEED_MODE
static