GrowNode
|
Data Structures | |
struct | gn_pump_hs_data_t |
Macros | |
#define | TAG "gn_leaf_pwm" |
#define | GN_PUMP_HS_FADE |
#define | GN_LEAF_PWM_FADE_SPEED 500 |
#define | GN_LEAF_PWM_UNKNOWN_CHANNEL -1 |
#define | GN_LEAF_PWM_UNKNOWN_POWER -1 |
#define | GN_LEAF_PWM_UNKNOWN_GPIO -1 |
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_leaf_pwm_config (gn_leaf_handle_t leaf_config) |
Variables | |
static const ledc_mode_t | GN_LEAF_PWM_PARAM_LEDC_MODE = LEDC_HIGH_SPEED_MODE |
#define GN_LEAF_PWM_FADE_SPEED 500 |
define fade speed (msec)
#define GN_LEAF_PWM_UNKNOWN_CHANNEL -1 |
#define GN_LEAF_PWM_UNKNOWN_GPIO -1 |
#define GN_LEAF_PWM_UNKNOWN_POWER -1 |
#define GN_PUMP_HS_FADE |
define if duty has to be faded
#define TAG "gn_leaf_pwm" |
|
static |
gn_leaf_descriptor_handle_t gn_leaf_pwm_config | ( | gn_leaf_handle_t | leaf_config | ) |
void gn_leaf_pwm_task | ( | gn_leaf_handle_t | leaf_config | ) |
|
static |