Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/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);
/hal_espressif-3.6.0/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()
/hal_espressif-3.6.0/components/hal/esp32c3/include/hal/
Dledc_ll.h298 …uty_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
300 hw->channel_group[speed_mode].channel[channel_num].duty.duty = duty_val << 4; in ledc_ll_set_duty_int_part()
313 …ll_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
315 *duty_val = (hw->channel_group[speed_mode].channel[channel_num].duty_rd.duty_read >> 4); in ledc_ll_get_duty()
/hal_espressif-3.6.0/components/hal/esp32h2/include/hal/
Dledc_ll.h298 …uty_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
300 hw->channel_group[speed_mode].channel[channel_num].duty.duty = duty_val << 4; in ledc_ll_set_duty_int_part()
313 …ll_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
315 *duty_val = (hw->channel_group[speed_mode].channel[channel_num].duty_rd.duty_read >> 4); in ledc_ll_get_duty()
/hal_espressif-3.6.0/components/hal/esp32s2/include/hal/
Dledc_ll.h282 …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
283 hw->channel_group[speed_mode].channel[channel_num].duty.duty = duty_val << 4; in ledc_ll_set_duty_int_part()
296 …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
297 *duty_val = (hw->channel_group[speed_mode].channel[channel_num].duty_rd.duty_read >> 4); in ledc_ll_get_duty()
/hal_espressif-3.6.0/components/hal/esp32s3/include/hal/
Dledc_ll.h298 …uty_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
300 hw->channel_group[speed_mode].channel[channel_num].duty.duty = duty_val << 4; in ledc_ll_set_duty_int_part()
313 …ll_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
315 *duty_val = (hw->channel_group[speed_mode].channel[channel_num].duty_rd.duty_read >> 4); in ledc_ll_get_duty()
/hal_espressif-3.6.0/components/hal/esp32/include/hal/
Dledc_ll.h265 …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
266 hw->channel_group[speed_mode].channel[channel_num].duty.duty = duty_val << 4; in ledc_ll_set_duty_int_part()
279 …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
280 *duty_val = (hw->channel_group[speed_mode].channel[channel_num].duty_rd.duty_read >> 4); in ledc_ll_get_duty()
/hal_espressif-3.6.0/examples/bluetooth/esp_ble_mesh/common_components/light_driver/
Diot_led.c106 … iot_ledc_duty_config(ledc_mode_t speed_mode, ledc_channel_t channel, int hpoint_val, int duty_val, in iot_ledc_duty_config() argument
117 if (duty_val >= 0) { in iot_ledc_duty_config()
118 LEDC.channel_group[speed_mode].channel[channel].duty.duty = duty_val; in iot_ledc_duty_config()
Diot_light.c126 …_ledc_duty_config(ledc_mode_t speed_mode, ledc_channel_t channel_num, int hpoint_val, int duty_val, in iot_ledc_duty_config() argument
133 if (duty_val >= 0) { in iot_ledc_duty_config()
134 LEDC.channel_group[speed_mode].channel[channel_num].duty.duty = duty_val; in iot_ledc_duty_config()
/hal_espressif-3.6.0/components/driver/
Dledc.c184 …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
191 if (duty_val >= 0) { in ledc_duty_config()
192 ledc_hal_set_duty_int_part(&(p_ledc_obj[speed_mode]->ledc_hal), channel, duty_val); in ledc_duty_config()