/hal_espressif-3.6.0/components/hal/include/hal/ |
D | ledc_hal.h | 194 …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/ |
D | ledc_hal_iram.c | 31 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/ |
D | ledc_ll.h | 298 …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/ |
D | ledc_ll.h | 298 …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/ |
D | ledc_ll.h | 282 …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/ |
D | ledc_ll.h | 298 …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/ |
D | ledc_ll.h | 265 …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/ |
D | iot_led.c | 106 … 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()
|
D | iot_light.c | 126 …_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/ |
D | ledc.c | 184 …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()
|