Home
last modified time | relevance | path

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

/hal_espressif-3.5.0/components/hal/esp32c3/include/hal/
Dledc_ll.h208 …esolution(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
210 hw->timer_group[speed_mode].timer[timer_sel].conf.duty_resolution = duty_resolution; in ledc_ll_set_duty_resolution()
223 …solution(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
225 *duty_resolution = hw->timer_group[speed_mode].timer[timer_sel].conf.duty_resolution; in ledc_ll_get_duty_resolution()
255 *max_duty = (1 << (LEDC.timer_group[speed_mode].timer[timer_sel].conf.duty_resolution)); in ledc_ll_get_max_duty()
/hal_espressif-3.5.0/components/hal/esp32h2/include/hal/
Dledc_ll.h208 …esolution(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
210 hw->timer_group[speed_mode].timer[timer_sel].conf.duty_resolution = duty_resolution; in ledc_ll_set_duty_resolution()
223 …solution(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
225 *duty_resolution = hw->timer_group[speed_mode].timer[timer_sel].conf.duty_resolution; in ledc_ll_get_duty_resolution()
255 *max_duty = (1 << (LEDC.timer_group[speed_mode].timer[timer_sel].conf.duty_resolution)); in ledc_ll_get_max_duty()
/hal_espressif-3.5.0/components/hal/esp32/include/hal/
Dledc_ll.h181 …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
182 hw->timer_group[speed_mode].timer[timer_sel].conf.duty_resolution = duty_resolution; in ledc_ll_set_duty_resolution()
195 …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
196 *duty_resolution = hw->timer_group[speed_mode].timer[timer_sel].conf.duty_resolution; in ledc_ll_get_duty_resolution()
224 *max_duty = (1 << (LEDC.timer_group[speed_mode].timer[timer_sel].conf.duty_resolution)); in ledc_ll_get_max_duty()
/hal_espressif-3.5.0/components/hal/esp32s2/include/hal/
Dledc_ll.h198 …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
199 hw->timer_group[speed_mode].timer[timer_sel].conf.duty_resolution = duty_resolution; in ledc_ll_set_duty_resolution()
212 …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
213 *duty_resolution = hw->timer_group[speed_mode].timer[timer_sel].conf.duty_resolution; in ledc_ll_get_duty_resolution()
241 *max_duty = (1 << (LEDC.timer_group[speed_mode].timer[timer_sel].conf.duty_resolution)); in ledc_ll_get_max_duty()
/hal_espressif-3.5.0/components/hal/esp32s3/include/hal/
Dledc_ll.h208 …esolution(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
210 hw->timer_group[speed_mode].timer[timer_sel].conf.duty_resolution = duty_resolution; in ledc_ll_set_duty_resolution()
223 …solution(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
225 *duty_resolution = hw->timer_group[speed_mode].timer[timer_sel].conf.duty_resolution; in ledc_ll_get_duty_resolution()
255 *max_duty = (1 << (LEDC.timer_group[speed_mode].timer[timer_sel].conf.duty_resolution)); in ledc_ll_get_max_duty()
/hal_espressif-3.5.0/components/driver/
Dledc.c169 …t(ledc_mode_t speed_mode, ledc_timer_t timer_sel, uint32_t clock_divider, uint32_t duty_resolution, in ledc_timer_set() argument
178 ledc_hal_set_duty_resolution(&(p_ledc_obj[speed_mode]->ledc_hal), timer_sel, duty_resolution); in ledc_timer_set()
262 …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
265 uint32_t precision = ( 0x1 << duty_resolution ); in ledc_set_timer_div()
305 ledc_timer_set(speed_mode, timer_num, div_param, duty_resolution, timer_clk_src); in ledc_set_timer_div()
319 uint32_t duty_resolution = timer_conf->duty_resolution; in ledc_timer_config() local
325 if (freq_hz == 0 || duty_resolution == 0 || duty_resolution >= LEDC_TIMER_BIT_MAX) { in ledc_timer_config()
326 ESP_LOGE(LEDC_TAG, "freq_hz=%u duty_resolution=%u", freq_hz, duty_resolution); in ledc_timer_config()
342 return ledc_set_timer_div(speed_mode, timer_num, timer_conf->clk_cfg, freq_hz, duty_resolution); in ledc_timer_config()
523 uint32_t duty_resolution = 0; in ledc_set_freq() local
[all …]
/hal_espressif-3.5.0/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.h149 ledc_timer_bit_t duty_resolution; /*!< LEDC channel duty resolution */ member
/hal_espressif-3.5.0/docs/zh_CN/api-reference/peripherals/
Dledc.rst99 传递给函数的占空比数值范围取决于选定的 ``duty_resolution``,应为 ``0`` 至 ``(2 ** duty_resolution) - 1``。例如,如选定的占空比分辨率为 10…
179 …ency and duty resolution cannot be achieved, try reducing freq_hz or duty_resolution. div_param=128
187 …cy and duty resolution cannot be achieved, try increasing freq_hz or duty_resolution. div_param=12…
/hal_espressif-3.5.0/components/driver/test/
Dtest_ledc.c66 ledc_time_config.duty_resolution = LEDC_TIMER_13_BIT; in create_default_timer_config()
105 ledc_time_config.duty_resolution = timer_bit; in timer_duty_test()
178 .duty_resolution = timer_bit, in timer_frequency_test()
238 ledc_time_config.duty_resolution = LEDC_TIMER_BIT_MAX;
476 .duty_resolution = 13,
529 .duty_resolution = LEDC_TIMER_13_BIT,
Dtest_pcnt.c75 .duty_resolution = LEDC_TIMER_10_BIT, in produce_pulse()
181 .duty_resolution = LEDC_TIMER_10_BIT, in count_mode_test()
/hal_espressif-3.5.0/examples/bluetooth/esp_ble_mesh/common_components/light_driver/
Diot_led.c178 …uint32_t duty_resolution = LEDC.timer_group[speed_mode].timer[g_light_config->timer_num].conf.duty… in _iot_set_fade_with_time() local
180 uint32_t precision = (0x1U << duty_resolution); in _iot_set_fade_with_time()
387 .duty_resolution = LEDC_TIMER_13_BIT, in iot_led_init()
/hal_espressif-3.5.0/examples/peripherals/ledc/ledc_basic/main/
Dledc_basic_example_main.c27 .duty_resolution = LEDC_DUTY_RES, in example_ledc_init()
/hal_espressif-3.5.0/docs/en/api-reference/peripherals/
Dledc.rst99 …passed to functions depends on selected ``duty_resolution`` and should be from ``0`` to ``(2 ** du…
179 …ency and duty resolution cannot be achieved, try reducing freq_hz or duty_resolution. div_param=128
187 …cy and duty resolution cannot be achieved, try increasing freq_hz or duty_resolution. div_param=12…
/hal_espressif-3.5.0/examples/peripherals/pcnt/pulse_count_event/main/
Dpcnt_event_example_main.c86 ledc_timer.duty_resolution = LEDC_TIMER_10_BIT; in ledc_init()
/hal_espressif-3.5.0/examples/mesh/internal_communication/main/
Dmesh_light.c42 .duty_resolution = LEDC_TIMER_13_BIT, in mesh_light_init()
/hal_espressif-3.5.0/examples/mesh/manual_networking/main/
Dmesh_light.c42 .duty_resolution = LEDC_TIMER_13_BIT, in mesh_light_init()
/hal_espressif-3.5.0/components/driver/include/driver/
Dledc.h270 …speed_mode, ledc_timer_t timer_sel, uint32_t clock_divider, uint32_t duty_resolution, ledc_clk_src…
/hal_espressif-3.5.0/examples/peripherals/ledc/ledc_fade/main/
Dledc_fade_example_main.c89 .duty_resolution = LEDC_TIMER_13_BIT, // resolution of PWM duty in app_main()
/hal_espressif-3.5.0/components/soc/esp32c3/include/soc/
Dledc_struct.h83 uint32_t duty_resolution: 4; member
/hal_espressif-3.5.0/components/soc/esp32s3/include/soc/
Dledc_struct.h77 uint32_t duty_resolution: 4; member
/hal_espressif-3.5.0/components/soc/esp32s2/include/soc/
Dledc_struct.h74 uint32_t duty_resolution: 4; member
/hal_espressif-3.5.0/components/soc/esp32h2/include/soc/
Dledc_struct.h83 uint32_t duty_resolution: 4; member
/hal_espressif-3.5.0/components/soc/esp32/include/soc/
Dledc_struct.h74 …uint32_t duty_resolution: 5; /*This register controls resolution of PWN duty by defining the… member
/hal_espressif-3.5.0/examples/peripherals/ledc/ledc_basic/
DREADME.md72 …ncy and duty resolution can not be achieved, try reducing freq_hz or duty_resolution.` you need to…