Home
last modified time | relevance | path

Searched refs:duty_resolution (Results 1 – 8 of 8) sorted by relevance

/device/soc/esp/esp32/components/hal/esp32/include/hal/
Dledc_ll.h176 …solution(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t timer_sel, uint32_t duty_resolution){ in ledc_ll_set_duty_resolution() argument
177 hw->timer_group[speed_mode].timer[timer_sel].conf.duty_resolution = duty_resolution; in ledc_ll_set_duty_resolution()
190 …olution(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t timer_sel, uint32_t *duty_resolution){ in ledc_ll_get_duty_resolution() argument
191 *duty_resolution = hw->timer_group[speed_mode].timer[timer_sel].conf.duty_resolution; in ledc_ll_get_duty_resolution()
219 *max_duty = (1 << (LEDC.timer_group[speed_mode].timer[timer_sel].conf.duty_resolution)); in ledc_ll_get_max_duty()
/device/soc/esp/esp32/components/hal/include/hal/
Dledc_hal.h150 …solution(hal, timer_sel, duty_resolution) ledc_ll_set_duty_resolution((hal)->dev, (hal)->speed_mo… argument
161 …solution(hal, timer_sel, duty_resolution) ledc_ll_get_duty_resolution((hal)->dev, (hal)->speed_mo… argument
Dledc_types.h145 ledc_timer_bit_t duty_resolution; /*!< LEDC channel duty resolution */ member
/device/soc/esp/esp32/components/driver/
Dledc.c178 …t(ledc_mode_t speed_mode, ledc_timer_t timer_sel, uint32_t clock_divider, uint32_t duty_resolution, in ledc_timer_set() argument
187 ledc_hal_set_duty_resolution(&(p_ledc_obj[speed_mode]->ledc_hal), timer_sel, duty_resolution); in ledc_timer_set()
271 …ode_t speed_mode, ledc_timer_t timer_num, ledc_clk_cfg_t clk_cfg, int freq_hz, int duty_resolution) in ledc_set_timer_div() argument
274 uint32_t precision = ( 0x1 << duty_resolution ); in ledc_set_timer_div()
314 ledc_timer_set(speed_mode, timer_num, div_param, duty_resolution, timer_clk_src); in ledc_set_timer_div()
328 uint32_t duty_resolution = timer_conf->duty_resolution; in ledc_timer_config() local
334 if (freq_hz == 0 || duty_resolution == 0 || duty_resolution >= LEDC_TIMER_BIT_MAX) { in ledc_timer_config()
335 ESP_LOGE(LEDC_TAG, "freq_hz=%u duty_resolution=%u", freq_hz, duty_resolution); in ledc_timer_config()
351 return ledc_set_timer_div(speed_mode, timer_num, timer_conf->clk_cfg, freq_hz, duty_resolution); in ledc_timer_config()
531 uint32_t duty_resolution = 0; in ledc_set_freq() local
[all …]
/device/board/openvalley/niobeu4/liteos_m/hdf_drivers/pwm/
Dpwm_esp32u4.c70 (resource)->ledc_timer_config.duty_resolution = LEDC_TIMER_13_BIT; \
300 printf("duty_resolution = %d\r\n", pwmDevice->ledc_timer_config.duty_resolution); in PwmDevSetConfig()
/device/soc/esp/esp32/components/driver/include/driver/
Dledc.h241 …speed_mode, ledc_timer_t timer_sel, uint32_t clock_divider, uint32_t duty_resolution, ledc_clk_src…
/device/board/openvalley/niobeu4/liteos_m/hals/iot_hardware/wifiiot_lite/
Dhal_iot_pwm.c138 .duty_resolution = (TimerBit - 1), in IoTPwmStart()
/device/soc/esp/esp32/components/soc/esp32/include/soc/
Dledc_struct.h74 …uint32_t duty_resolution: 5; /*This register controls resolution of PWN duty by defining the… member