Home
last modified time | relevance | path

Searched refs:ledc_mode_t (Results 1 – 17 of 17) sorted by relevance

/hal_espressif-3.5.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);
142 esp_err_t ledc_set_freq(ledc_mode_t speed_mode, ledc_timer_t timer_num, uint32_t freq_hz);
154 uint32_t ledc_get_freq(ledc_mode_t speed_mode, ledc_timer_t timer_num);
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…
[all …]
/hal_espressif-3.5.0/components/hal/esp32c3/include/hal/
Dledc_ll.h80 static inline void ledc_ll_ls_timer_update(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t tim… in ledc_ll_ls_timer_update()
94 static inline void ledc_ll_timer_rst(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t timer_sel) in ledc_ll_timer_rst()
109 static inline void ledc_ll_timer_pause(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t timer_s… in ledc_ll_timer_pause()
123 static inline void ledc_ll_timer_resume(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t timer_… in ledc_ll_timer_resume()
138 static inline void ledc_ll_set_clock_divider(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t t… in ledc_ll_set_clock_divider()
153 static inline void ledc_ll_get_clock_divider(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t t… in ledc_ll_get_clock_divider()
168 static inline void ledc_ll_set_clock_source(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t ti… in ledc_ll_set_clock_source()
189 static inline void ledc_ll_get_clock_source(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t ti… in ledc_ll_get_clock_source()
208 static inline void ledc_ll_set_duty_resolution(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t… in ledc_ll_set_duty_resolution()
223 static inline void ledc_ll_get_duty_resolution(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t… in ledc_ll_get_duty_resolution()
[all …]
/hal_espressif-3.5.0/components/hal/esp32h2/include/hal/
Dledc_ll.h80 static inline void ledc_ll_ls_timer_update(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t tim… in ledc_ll_ls_timer_update()
94 static inline void ledc_ll_timer_rst(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t timer_sel) in ledc_ll_timer_rst()
109 static inline void ledc_ll_timer_pause(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t timer_s… in ledc_ll_timer_pause()
123 static inline void ledc_ll_timer_resume(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t timer_… in ledc_ll_timer_resume()
138 static inline void ledc_ll_set_clock_divider(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t t… in ledc_ll_set_clock_divider()
153 static inline void ledc_ll_get_clock_divider(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t t… in ledc_ll_get_clock_divider()
168 static inline void ledc_ll_set_clock_source(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t ti… in ledc_ll_set_clock_source()
189 static inline void ledc_ll_get_clock_source(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t ti… in ledc_ll_get_clock_source()
208 static inline void ledc_ll_set_duty_resolution(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t… in ledc_ll_set_duty_resolution()
223 static inline void ledc_ll_get_duty_resolution(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t… in ledc_ll_get_duty_resolution()
[all …]
/hal_espressif-3.5.0/components/hal/esp32/include/hal/
Dledc_ll.h67 static inline void ledc_ll_ls_timer_update(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t tim… in ledc_ll_ls_timer_update()
80 static inline void ledc_ll_timer_rst(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t timer_sel… in ledc_ll_timer_rst()
94 static inline void ledc_ll_timer_pause(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t timer_s… in ledc_ll_timer_pause()
107 static inline void ledc_ll_timer_resume(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t timer_… in ledc_ll_timer_resume()
121 static inline void ledc_ll_set_clock_divider(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t t… in ledc_ll_set_clock_divider()
135 static inline void ledc_ll_get_clock_divider(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t t… in ledc_ll_get_clock_divider()
149 static inline void ledc_ll_set_clock_source(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t ti… in ledc_ll_set_clock_source()
163 static inline void ledc_ll_get_clock_source(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t ti… in ledc_ll_get_clock_source()
181 static inline void ledc_ll_set_duty_resolution(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t… in ledc_ll_set_duty_resolution()
195 static inline void ledc_ll_get_duty_resolution(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t… in ledc_ll_get_duty_resolution()
[all …]
/hal_espressif-3.5.0/components/hal/esp32s2/include/hal/
Dledc_ll.h78 static inline void ledc_ll_ls_timer_update(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t tim… in ledc_ll_ls_timer_update()
91 static inline void ledc_ll_timer_rst(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t timer_sel… in ledc_ll_timer_rst()
105 static inline void ledc_ll_timer_pause(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t timer_s… in ledc_ll_timer_pause()
118 static inline void ledc_ll_timer_resume(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t timer_… in ledc_ll_timer_resume()
132 static inline void ledc_ll_set_clock_divider(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t t… in ledc_ll_set_clock_divider()
146 static inline void ledc_ll_get_clock_divider(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t t… in ledc_ll_get_clock_divider()
160 static inline void ledc_ll_set_clock_source(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t ti… in ledc_ll_set_clock_source()
180 static inline void ledc_ll_get_clock_source(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t ti… in ledc_ll_get_clock_source()
198 static inline void ledc_ll_set_duty_resolution(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t… in ledc_ll_set_duty_resolution()
212 static inline void ledc_ll_get_duty_resolution(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t… in ledc_ll_get_duty_resolution()
[all …]
/hal_espressif-3.5.0/components/hal/esp32s3/include/hal/
Dledc_ll.h80 static inline void ledc_ll_ls_timer_update(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t tim… in ledc_ll_ls_timer_update()
94 static inline void ledc_ll_timer_rst(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t timer_sel) in ledc_ll_timer_rst()
109 static inline void ledc_ll_timer_pause(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t timer_s… in ledc_ll_timer_pause()
123 static inline void ledc_ll_timer_resume(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t timer_… in ledc_ll_timer_resume()
138 static inline void ledc_ll_set_clock_divider(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t t… in ledc_ll_set_clock_divider()
153 static inline void ledc_ll_get_clock_divider(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t t… in ledc_ll_get_clock_divider()
168 static inline void ledc_ll_set_clock_source(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t ti… in ledc_ll_set_clock_source()
189 static inline void ledc_ll_get_clock_source(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t ti… in ledc_ll_get_clock_source()
208 static inline void ledc_ll_set_duty_resolution(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t… in ledc_ll_set_duty_resolution()
223 static inline void ledc_ll_get_duty_resolution(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t… in ledc_ll_get_duty_resolution()
[all …]
/hal_espressif-3.5.0/components/driver/
Dledc.c29 ledc_mode_t speed_mode;
73 static void ledc_ls_timer_update(ledc_mode_t speed_mode, ledc_timer_t timer_sel) in ledc_ls_timer_update()
80 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()
169 esp_err_t ledc_timer_set(ledc_mode_t speed_mode, ledc_timer_t timer_sel, uint32_t clock_divider, ui… in ledc_timer_set()
[all …]
/hal_espressif-3.5.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 …est(ledc_channel_t channel, ledc_timer_bit_t timer_bit, ledc_timer_t timer, ledc_mode_t speed_mode) in timer_duty_test()
156 static void frequency_set_get(ledc_mode_t speed_mode, ledc_timer_t timer, uint32_t freq_hz, int16_t… in frequency_set_get()
165 …est(ledc_channel_t channel, ledc_timer_bit_t timer_bit, ledc_timer_t timer, ledc_mode_t speed_mode) in timer_frequency_test()
264 const ledc_mode_t test_speed_mode = TEST_SPEED_MODE;
282 ledc_mode_t speed_mode[LEDC_SPEED_MODE_MAX] = SPEED_MODE_LIST;
326 ledc_mode_t speed_mode_list[LEDC_SPEED_MODE_MAX] = SPEED_MODE_LIST;
336 const ledc_mode_t test_speed_mode = TEST_SPEED_MODE;
356 const ledc_mode_t test_speed_mode = TEST_SPEED_MODE;
379 const ledc_mode_t test_speed_mode = TEST_SPEED_MODE;
[all …]
/hal_espressif-3.5.0/components/hal/include/hal/
Dledc_types.h31 } ledc_mode_t; typedef
131 ledc_mode_t speed_mode; /*!< LEDC speed speed_mode, high-speed mode or low-speed mode */
147ledc_mode_t speed_mode; /*!< LEDC speed speed_mode, high-speed mode or low-speed mo…
Dledc_hal.h34 ledc_mode_t speed_mode;
270 void ledc_hal_init(ledc_hal_context_t *hal, ledc_mode_t speed_mode);
/hal_espressif-3.5.0/examples/bluetooth/esp_ble_mesh/common_components/light_driver/
Diot_light.c55 ledc_mode_t mode;
69 ledc_mode_t mode;
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()
283 light_handle_t iot_light_create(ledc_timer_t timer, ledc_mode_t speed_mode, uint32_t freq_hz, uint8… in iot_light_create()
Diot_led.c53 ledc_mode_t speed_mode;
106 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()
380 esp_err_t iot_led_init(ledc_timer_t timer_num, ledc_mode_t speed_mode, uint32_t freq_hz) in iot_led_init()
/hal_espressif-3.5.0/components/hal/
Dledc_hal.c21 void ledc_hal_init(ledc_hal_context_t *hal, ledc_mode_t speed_mode) in ledc_hal_init()
/hal_espressif-3.5.0/examples/bluetooth/esp_ble_mesh/common_components/light_driver/include/
Diot_led.h72 esp_err_t iot_led_init(ledc_timer_t timer_num, ledc_mode_t speed_mode, uint32_t freq_hz);
Diot_light.h54 light_handle_t iot_light_create(ledc_timer_t timer, ledc_mode_t speed_mode, uint32_t freq_hz, uint8…
/hal_espressif-3.5.0/docs/zh_CN/api-reference/peripherals/
Dledc.rst55 :esp32: - 速度模式 :cpp:type:`ledc_mode_t`
/hal_espressif-3.5.0/docs/en/api-reference/peripherals/
Dledc.rst55 :esp32: - Speed mode :cpp:type:`ledc_mode_t`