Home
last modified time | relevance | path

Searched refs:duty_val (Results 1 – 4 of 4) sorted by relevance

/device/soc/esp/esp32/components/hal/
Dledc_hal_iram.c31 void ledc_hal_get_duty(ledc_hal_context_t *hal, ledc_channel_t channel_num, uint32_t *duty_val) in ledc_hal_get_duty() argument
33 ledc_ll_get_duty(hal->dev, hal->speed_mode, channel_num, duty_val); in ledc_hal_get_duty()
/device/soc/esp/esp32/components/hal/include/hal/
Dledc_hal.h194 …duty_int_part(hal, channel_num, duty_val) ledc_ll_set_duty_int_part((hal)->dev, (hal)->speed_mode… argument
302 void ledc_hal_get_duty(ledc_hal_context_t *hal, ledc_channel_t channel_num, uint32_t *duty_val);
/device/soc/esp/esp32/components/hal/esp32/include/hal/
Dledc_ll.h260 …ty_int_part(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t channel_num, uint32_t duty_val){ in ledc_ll_set_duty_int_part() argument
261 hw->channel_group[speed_mode].channel[channel_num].duty.duty = duty_val << 4; in ledc_ll_set_duty_int_part()
274 …l_get_duty(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t channel_num, uint32_t *duty_val){ in ledc_ll_get_duty() argument
275 *duty_val = (hw->channel_group[speed_mode].channel[channel_num].duty_rd.duty_read >> 4); in ledc_ll_get_duty()
/device/soc/esp/esp32/components/driver/
Dledc.c193 …rr_t ledc_duty_config(ledc_mode_t speed_mode, ledc_channel_t channel, int hpoint_val, int duty_val, in ledc_duty_config() argument
200 if (duty_val >= 0) { in ledc_duty_config()
201 ledc_hal_set_duty_int_part(&(p_ledc_obj[speed_mode]->ledc_hal), channel, duty_val); in ledc_duty_config()