Home
last modified time | relevance | path

Searched refs:ledc_channel_t (Results 1 – 18 of 18) sorted by relevance

/hal_espressif-3.6.0/components/driver/include/driver/
Dledc.h100 esp_err_t ledc_update_duty(ledc_mode_t speed_mode, ledc_channel_t channel);
114 esp_err_t ledc_set_pin(int gpio_num, ledc_mode_t speed_mode, ledc_channel_t ledc_channel)
128 esp_err_t ledc_stop(ledc_mode_t speed_mode, ledc_channel_t channel, uint32_t idle_level);
173 esp_err_t ledc_set_duty_with_hpoint(ledc_mode_t speed_mode, ledc_channel_t channel, uint32_t duty, …
184 int ledc_get_hpoint(ledc_mode_t speed_mode, ledc_channel_t channel);
203 esp_err_t ledc_set_duty(ledc_mode_t speed_mode, ledc_channel_t channel, uint32_t duty);
218 uint32_t ledc_get_duty(ledc_mode_t speed_mode, ledc_channel_t channel);
237 esp_err_t ledc_set_fade(ledc_mode_t speed_mode, ledc_channel_t channel, uint32_t duty, ledc_duty_di…
320 esp_err_t ledc_bind_channel_timer(ledc_mode_t speed_mode, ledc_channel_t channel, ledc_timer_t time…
343 esp_err_t ledc_set_fade_with_step(ledc_mode_t speed_mode, ledc_channel_t channel, uint32_t target_d…
[all …]
/hal_espressif-3.6.0/components/hal/esp32c3/include/hal/
Dledc_ll.h237 static inline void ledc_ll_ls_channel_update(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t in ledc_ll_ls_channel_update()
252 static inline void ledc_ll_get_max_duty(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t chan… in ledc_ll_get_max_duty()
268 static inline void ledc_ll_set_hpoint(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t channe… in ledc_ll_set_hpoint()
283 static inline void ledc_ll_get_hpoint(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t channe… in ledc_ll_get_hpoint()
298 static inline void ledc_ll_set_duty_int_part(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t in ledc_ll_set_duty_int_part()
313 static inline void ledc_ll_get_duty(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t channel_… in ledc_ll_get_duty()
328 …d ledc_ll_set_duty_direction(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t channel_num, l… in ledc_ll_set_duty_direction()
343 …d ledc_ll_get_duty_direction(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t channel_num, l… in ledc_ll_get_duty_direction()
358 static inline void ledc_ll_set_duty_num(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t chan… in ledc_ll_set_duty_num()
373 static inline void ledc_ll_set_duty_cycle(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t ch… in ledc_ll_set_duty_cycle()
[all …]
/hal_espressif-3.6.0/components/hal/esp32h2/include/hal/
Dledc_ll.h237 static inline void ledc_ll_ls_channel_update(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t in ledc_ll_ls_channel_update()
252 static inline void ledc_ll_get_max_duty(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t chan… in ledc_ll_get_max_duty()
268 static inline void ledc_ll_set_hpoint(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t channe… in ledc_ll_set_hpoint()
283 static inline void ledc_ll_get_hpoint(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t channe… in ledc_ll_get_hpoint()
298 static inline void ledc_ll_set_duty_int_part(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t in ledc_ll_set_duty_int_part()
313 static inline void ledc_ll_get_duty(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t channel_… in ledc_ll_get_duty()
328 …d ledc_ll_set_duty_direction(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t channel_num, l… in ledc_ll_set_duty_direction()
343 …d ledc_ll_get_duty_direction(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t channel_num, l… in ledc_ll_get_duty_direction()
358 static inline void ledc_ll_set_duty_num(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t chan… in ledc_ll_set_duty_num()
373 static inline void ledc_ll_set_duty_cycle(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t ch… in ledc_ll_set_duty_cycle()
[all …]
/hal_espressif-3.6.0/components/hal/esp32s2/include/hal/
Dledc_ll.h225 static inline void ledc_ll_ls_channel_update(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t in ledc_ll_ls_channel_update()
239 static inline void ledc_ll_get_max_duty(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t chan… in ledc_ll_get_max_duty()
254 static inline void ledc_ll_set_hpoint(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t channe… in ledc_ll_set_hpoint()
268 static inline void ledc_ll_get_hpoint(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t channe… in ledc_ll_get_hpoint()
282 static inline void ledc_ll_set_duty_int_part(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t in ledc_ll_set_duty_int_part()
296 static inline void ledc_ll_get_duty(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t channel_… in ledc_ll_get_duty()
310 …d ledc_ll_set_duty_direction(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t channel_num, l… in ledc_ll_set_duty_direction()
324 …d ledc_ll_get_duty_direction(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t channel_num, l… in ledc_ll_get_duty_direction()
338 static inline void ledc_ll_set_duty_num(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t chan… in ledc_ll_set_duty_num()
352 static inline void ledc_ll_set_duty_cycle(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t ch… in ledc_ll_set_duty_cycle()
[all …]
/hal_espressif-3.6.0/components/hal/esp32s3/include/hal/
Dledc_ll.h237 static inline void ledc_ll_ls_channel_update(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t in ledc_ll_ls_channel_update()
252 static inline void ledc_ll_get_max_duty(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t chan… in ledc_ll_get_max_duty()
268 static inline void ledc_ll_set_hpoint(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t channe… in ledc_ll_set_hpoint()
283 static inline void ledc_ll_get_hpoint(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t channe… in ledc_ll_get_hpoint()
298 static inline void ledc_ll_set_duty_int_part(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t in ledc_ll_set_duty_int_part()
313 static inline void ledc_ll_get_duty(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t channel_… in ledc_ll_get_duty()
328 …d ledc_ll_set_duty_direction(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t channel_num, l… in ledc_ll_set_duty_direction()
343 …d ledc_ll_get_duty_direction(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t channel_num, l… in ledc_ll_get_duty_direction()
358 static inline void ledc_ll_set_duty_num(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t chan… in ledc_ll_set_duty_num()
373 static inline void ledc_ll_set_duty_cycle(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t ch… in ledc_ll_set_duty_cycle()
[all …]
/hal_espressif-3.6.0/components/hal/esp32/include/hal/
Dledc_ll.h208 static inline void ledc_ll_ls_channel_update(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t in ledc_ll_ls_channel_update()
222 static inline void ledc_ll_get_max_duty(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t chan… in ledc_ll_get_max_duty()
237 static inline void ledc_ll_set_hpoint(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t channe… in ledc_ll_set_hpoint()
251 static inline void ledc_ll_get_hpoint(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t channe… in ledc_ll_get_hpoint()
265 static inline void ledc_ll_set_duty_int_part(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t in ledc_ll_set_duty_int_part()
279 static inline void ledc_ll_get_duty(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t channel_… in ledc_ll_get_duty()
293 …d ledc_ll_set_duty_direction(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t channel_num, l… in ledc_ll_set_duty_direction()
307 …d ledc_ll_get_duty_direction(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t channel_num, l… in ledc_ll_get_duty_direction()
321 static inline void ledc_ll_set_duty_num(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t chan… in ledc_ll_set_duty_num()
335 static inline void ledc_ll_set_duty_cycle(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_channel_t ch… in ledc_ll_set_duty_cycle()
[all …]
/hal_espressif-3.6.0/components/hal/
Dledc_hal_iram.c21 void ledc_hal_ls_channel_update(ledc_hal_context_t *hal, ledc_channel_t channel_num) in ledc_hal_ls_channel_update()
26 void ledc_hal_set_hpoint(ledc_hal_context_t *hal, ledc_channel_t channel_num, uint32_t hpoint_val) in ledc_hal_set_hpoint()
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()
36 void ledc_hal_set_duty_direction(ledc_hal_context_t *hal, ledc_channel_t channel_num, ledc_duty_dir… in ledc_hal_set_duty_direction()
41 void ledc_hal_set_duty_num(ledc_hal_context_t *hal, ledc_channel_t channel_num, uint32_t duty_num) in ledc_hal_set_duty_num()
46 void ledc_hal_set_duty_cycle(ledc_hal_context_t *hal, ledc_channel_t channel_num, uint32_t duty_cyc… in ledc_hal_set_duty_cycle()
51 void ledc_hal_set_duty_scale(ledc_hal_context_t *hal, ledc_channel_t channel_num, uint32_t duty_sca… in ledc_hal_set_duty_scale()
61 void ledc_hal_clear_fade_end_intr_status(ledc_hal_context_t *hal, ledc_channel_t channel_num) in ledc_hal_clear_fade_end_intr_status()
/hal_espressif-3.6.0/components/hal/include/hal/
Dledc_hal.h280 void ledc_hal_ls_channel_update(ledc_hal_context_t *hal, ledc_channel_t channel_num);
291 void ledc_hal_set_hpoint(ledc_hal_context_t *hal, ledc_channel_t channel_num, uint32_t hpoint_val);
302 void ledc_hal_get_duty(ledc_hal_context_t *hal, ledc_channel_t channel_num, uint32_t *duty_val);
313 void ledc_hal_set_duty_direction(ledc_hal_context_t *hal, ledc_channel_t channel_num, ledc_duty_dir…
324 void ledc_hal_set_duty_num(ledc_hal_context_t *hal, ledc_channel_t channel_num, uint32_t duty_num);
335 void ledc_hal_set_duty_cycle(ledc_hal_context_t *hal, ledc_channel_t channel_num, uint32_t duty_cyc…
346 void ledc_hal_set_duty_scale(ledc_hal_context_t *hal, ledc_channel_t channel_num, uint32_t duty_sca…
367 void ledc_hal_clear_fade_end_intr_status(ledc_hal_context_t *hal, ledc_channel_t channel_num);
Dledc_types.h92 } ledc_channel_t; typedef
132 ledc_channel_t channel; /*!< LEDC channel (0 - 7) */
/hal_espressif-3.6.0/examples/bluetooth/esp_ble_mesh/common_components/light_driver/include/
Diot_led.h98 esp_err_t iot_led_regist_channel(ledc_channel_t channel, gpio_num_t gpio_num);
112 esp_err_t iot_led_get_channel(ledc_channel_t channel, uint8_t *dst);
127 esp_err_t iot_led_set_channel(ledc_channel_t channel, uint8_t value, uint32_t fade_ms);
145 esp_err_t iot_led_start_blink(ledc_channel_t channel, uint8_t value, uint32_t period_ms, bool fade_…
155 esp_err_t iot_led_stop_blink(ledc_channel_t channel);
Diot_light.h68 …egist(light_handle_t light_handle, uint8_t channel_idx, gpio_num_t io_num, ledc_channel_t channel);
/hal_espressif-3.6.0/components/driver/
Dledc.c80 static IRAM_ATTR void ledc_ls_channel_update(ledc_mode_t speed_mode, ledc_channel_t channel) in ledc_ls_channel_update()
116 static esp_err_t ledc_enable_intr_type(ledc_mode_t speed_mode, ledc_channel_t channel, ledc_intr_ty… in ledc_enable_intr_type()
128 static void _ledc_fade_hw_acquire(ledc_mode_t mode, ledc_channel_t channel) in _ledc_fade_hw_acquire()
137 static void _ledc_fade_hw_release(ledc_mode_t mode, ledc_channel_t channel) in _ledc_fade_hw_release()
145 static void _ledc_op_lock_acquire(ledc_mode_t mode, ledc_channel_t channel) in _ledc_op_lock_acquire()
153 static void _ledc_op_lock_release(ledc_mode_t mode, ledc_channel_t channel) in _ledc_op_lock_release()
161 static uint32_t ledc_get_max_duty(ledc_mode_t speed_mode, ledc_channel_t channel) in ledc_get_max_duty()
184 static IRAM_ATTR esp_err_t ledc_duty_config(ledc_mode_t speed_mode, ledc_channel_t channel, int hpo… in ledc_duty_config()
203 esp_err_t ledc_bind_channel_timer(ledc_mode_t speed_mode, ledc_channel_t channel, ledc_timer_t time… in ledc_bind_channel_timer()
345 esp_err_t ledc_set_pin(int gpio_num, ledc_mode_t speed_mode, ledc_channel_t ledc_channel) in ledc_set_pin()
[all …]
/hal_espressif-3.6.0/examples/bluetooth/esp_ble_mesh/common_components/light_driver/
Diot_led.c106 static IRAM_ATTR esp_err_t iot_ledc_duty_config(ledc_mode_t speed_mode, ledc_channel_t channel, int… in iot_ledc_duty_config()
143 static IRAM_ATTR esp_err_t _iot_set_fade_with_step(ledc_mode_t speed_mode, ledc_channel_t channel, … in _iot_set_fade_with_step()
171 static IRAM_ATTR esp_err_t _iot_set_fade_with_time(ledc_mode_t speed_mode, ledc_channel_t channel, … in _iot_set_fade_with_time()
231 static IRAM_ATTR esp_err_t _iot_update_duty(ledc_mode_t speed_mode, ledc_channel_t channel) in _iot_update_duty()
243 static IRAM_ATTR esp_err_t iot_ledc_set_duty(ledc_mode_t speed_mode, ledc_channel_t channel, uint32… in iot_ledc_set_duty()
437 esp_err_t iot_led_regist_channel(ledc_channel_t channel, gpio_num_t gpio_num) in iot_led_regist_channel()
467 esp_err_t iot_led_get_channel(ledc_channel_t channel, uint8_t *dst) in iot_led_get_channel()
478 esp_err_t iot_led_set_channel(ledc_channel_t channel, uint8_t value, uint32_t fade_ms) in iot_led_set_channel()
511 esp_err_t iot_led_start_blink(ledc_channel_t channel, uint8_t value, uint32_t period_ms, bool fade_… in iot_led_start_blink()
532 esp_err_t iot_led_stop_blink(ledc_channel_t channel) in iot_led_stop_blink()
Diot_light.c56 ledc_channel_t channel;
119 static IRAM_ATTR void iot_ledc_ls_channel_update(ledc_mode_t speed_mode, ledc_channel_t channel_num) in iot_ledc_ls_channel_update()
126 static IRAM_ATTR esp_err_t iot_ledc_duty_config(ledc_mode_t speed_mode, ledc_channel_t channel_num,… in iot_ledc_duty_config()
145 static IRAM_ATTR esp_err_t iot_ledc_set_duty(ledc_mode_t speed_mode, ledc_channel_t channel, uint32… in iot_ledc_set_duty()
158 static IRAM_ATTR esp_err_t iot_ledc_update_duty(ledc_mode_t speed_mode, ledc_channel_t channel) in iot_ledc_update_duty()
228 static light_channel_t *light_channel_create(gpio_num_t io_num, ledc_channel_t channel, ledc_mode_t… in light_channel_create()
355 …regist(light_handle_t light_handle, uint8_t channel_idx, gpio_num_t io_num, ledc_channel_t channel) in iot_light_channel_regist()
Dlight_driver.c676 ret = iot_led_get_channel((ledc_channel_t)CHANNEL_ID_RED, &red); in light_driver_fade_brightness()
678 ret = iot_led_get_channel((ledc_channel_t)CHANNEL_ID_GREEN, &green); in light_driver_fade_brightness()
680 ret = iot_led_get_channel((ledc_channel_t)CHANNEL_ID_BLUE, &blue); in light_driver_fade_brightness()
/hal_espressif-3.6.0/components/driver/test/
Dtest_ledc.c87 static void timer_duty_set_get(ledc_mode_t speed_mode, ledc_channel_t channel, uint32_t duty) in timer_duty_set_get()
96 static void timer_duty_test(ledc_channel_t channel, ledc_timer_bit_t timer_bit, ledc_timer_t timer,… in timer_duty_test()
165 static void timer_frequency_test(ledc_channel_t channel, ledc_timer_bit_t timer_bit, ledc_timer_t t… in timer_frequency_test()
283ledc_channel_t channels[8] = {LEDC_CHANNEL_0, LEDC_CHANNEL_1, LEDC_CHANNEL_2, LEDC_CHANNEL_3, LEDC…
/hal_espressif-3.6.0/docs/zh_CN/api-reference/peripherals/
Dledc.rst69 定时器设置好后,请配置所需的通道(:cpp:type:`ledc_channel_t` 之一)。配置通道需调用函数 :cpp:func:`ledc_channel_config`。
/hal_espressif-3.6.0/docs/en/api-reference/peripherals/
Dledc.rst69 When the timer is set up, configure the desired channel (one out of :cpp:type:`ledc_channel_t`). Th…