Home
last modified time | relevance | path

Searched refs:cycle_num (Results 1 – 3 of 3) sorted by relevance

/hal_espressif-3.6.0/components/driver/
Dledc.c32 int cycle_num; member
599 int cycle = s_ledc_fade_rec[speed_mode][channel]->cycle_num; in ledc_fade_isr()
683 …tep(ledc_mode_t speed_mode, ledc_channel_t channel, uint32_t target_duty, int scale, int cycle_num) in _ledc_set_fade_with_step() argument
694 s_ledc_fade_rec[speed_mode][channel]->cycle_num = cycle_num; in _ledc_set_fade_with_step()
713 …dc_duty_config(speed_mode, channel, LEDC_VAL_NO_CHANGE, duty_cur, dir, step_num, cycle_num, scale); in _ledc_set_fade_with_step()
715 duty_cur, target_duty, step_num, cycle_num, scale, dir); in _ledc_set_fade_with_step()
740 int scale, cycle_num; in _ledc_set_fade_with_time() local
743 cycle_num = total_cycles / duty_delta; in _ledc_set_fade_with_time()
744 if (cycle_num > LEDC_DUTY_NUM_MAX) { in _ledc_set_fade_with_time()
746 cycle_num = LEDC_DUTY_NUM_MAX; in _ledc_set_fade_with_time()
[all …]
/hal_espressif-3.6.0/examples/bluetooth/esp_ble_mesh/common_components/light_driver/
Diot_led.c143 …tep(ledc_mode_t speed_mode, ledc_channel_t channel, uint32_t target_duty, int scale, int cycle_num) in _iot_set_fade_with_step() argument
163 … iot_ledc_duty_config(speed_mode, channel, -1, duty_cur << 4, dir, step_num, cycle_num, scale); in _iot_set_fade_with_step()
198 int scale, cycle_num; in _iot_set_fade_with_time() local
202 cycle_num = total_cycles / duty_delta; in _iot_set_fade_with_time()
205 if (cycle_num > LEDC_DUTY_NUM_LSCH0_V) { in _iot_set_fade_with_time()
206 cycle_num = LEDC_DUTY_NUM_LSCH0_V; in _iot_set_fade_with_time()
209 if (cycle_num > LEDC_DUTY_NUM_HSCH0_V) { in _iot_set_fade_with_time()
210 cycle_num = LEDC_DUTY_NUM_HSCH0_V; in _iot_set_fade_with_time()
214 cycle_num = 1; in _iot_set_fade_with_time()
228 return _iot_set_fade_with_step(speed_mode, channel, target_duty, scale, cycle_num); in _iot_set_fade_with_time()
/hal_espressif-3.6.0/components/driver/include/driver/
Dledc.h343 …de_t speed_mode, ledc_channel_t channel, uint32_t target_duty, uint32_t scale, uint32_t cycle_num);
450 … ledc_channel_t channel, uint32_t target_duty, uint32_t scale, uint32_t cycle_num, ledc_fade_mode_…