/hal_espressif-3.6.0/components/hal/include/hal/ |
D | ledc_hal.h | 65 #define ledc_hal_ls_timer_update(hal, timer_sel) ledc_ll_ls_timer_update((hal)->dev, (hal)->speed_… argument 75 #define ledc_hal_timer_rst(hal, timer_sel) ledc_ll_timer_rst((hal)->dev, (hal)->speed_mode, timer_… argument 85 #define ledc_hal_timer_pause(hal, timer_sel) ledc_ll_timer_pause((hal)->dev, (hal)->speed_mode, ti… argument 95 #define ledc_hal_timer_resume(hal, timer_sel) ledc_ll_timer_resume((hal)->dev, (hal)->speed_mode, … argument 106 …dc_hal_set_clock_divider(hal, timer_sel, clock_divider) ledc_ll_set_clock_divider((hal)->dev, (ha… argument 117 …dc_hal_get_clock_divider(hal, timer_sel, clock_divider) ledc_ll_get_clock_divider((hal)->dev, (ha… argument 128 …e ledc_hal_set_clock_source(hal, timer_sel, clk_src) ledc_ll_set_clock_source((hal)->dev, (hal)->… argument 139 …e ledc_hal_get_clock_source(hal, timer_sel, clk_src) ledc_ll_get_clock_source((hal)->dev, (hal)->… argument 150 …al_set_duty_resolution(hal, timer_sel, duty_resolution) ledc_ll_set_duty_resolution((hal)->dev, (… argument 161 …al_get_duty_resolution(hal, timer_sel, duty_resolution) ledc_ll_get_duty_resolution((hal)->dev, (… argument [all …]
|
D | ledc_types.h | 134 ledc_timer_t timer_sel; /*!< Select the timer source of channel (0 - 3) */ member
|
/hal_espressif-3.6.0/components/hal/esp32c3/include/hal/ |
D | ledc_ll.h | 80 …inline void ledc_ll_ls_timer_update(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t timer_sel) in ledc_ll_ls_timer_update() argument 82 hw->timer_group[speed_mode].timer[timer_sel].conf.low_speed_update = 1; 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() argument 96 hw->timer_group[speed_mode].timer[timer_sel].conf.rst = 1; in ledc_ll_timer_rst() 97 hw->timer_group[speed_mode].timer[timer_sel].conf.rst = 0; in ledc_ll_timer_rst() 109 …tic inline void ledc_ll_timer_pause(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t timer_sel) in ledc_ll_timer_pause() argument 111 hw->timer_group[speed_mode].timer[timer_sel].conf.pause = 1; in ledc_ll_timer_pause() 123 …ic inline void ledc_ll_timer_resume(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t timer_sel) in ledc_ll_timer_resume() argument 125 hw->timer_group[speed_mode].timer[timer_sel].conf.pause = 0; in ledc_ll_timer_resume() 138 …_set_clock_divider(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t timer_sel, uint32_t clock_… in ledc_ll_set_clock_divider() argument [all …]
|
/hal_espressif-3.6.0/components/hal/esp32h2/include/hal/ |
D | ledc_ll.h | 80 …inline void ledc_ll_ls_timer_update(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t timer_sel) in ledc_ll_ls_timer_update() argument 82 hw->timer_group[speed_mode].timer[timer_sel].conf.low_speed_update = 1; 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() argument 96 hw->timer_group[speed_mode].timer[timer_sel].conf.rst = 1; in ledc_ll_timer_rst() 97 hw->timer_group[speed_mode].timer[timer_sel].conf.rst = 0; in ledc_ll_timer_rst() 109 …tic inline void ledc_ll_timer_pause(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t timer_sel) in ledc_ll_timer_pause() argument 111 hw->timer_group[speed_mode].timer[timer_sel].conf.pause = 1; in ledc_ll_timer_pause() 123 …ic inline void ledc_ll_timer_resume(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t timer_sel) in ledc_ll_timer_resume() argument 125 hw->timer_group[speed_mode].timer[timer_sel].conf.pause = 0; in ledc_ll_timer_resume() 138 …_set_clock_divider(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t timer_sel, uint32_t clock_… in ledc_ll_set_clock_divider() argument [all …]
|
/hal_espressif-3.6.0/components/hal/esp32s2/include/hal/ |
D | ledc_ll.h | 78 …nline void ledc_ll_ls_timer_update(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t timer_sel){ in ledc_ll_ls_timer_update() argument 79 hw->timer_group[speed_mode].timer[timer_sel].conf.low_speed_update = 1; 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() argument 92 hw->timer_group[speed_mode].timer[timer_sel].conf.rst = 1; in ledc_ll_timer_rst() 93 hw->timer_group[speed_mode].timer[timer_sel].conf.rst = 0; in ledc_ll_timer_rst() 105 …ic inline void ledc_ll_timer_pause(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t timer_sel){ in ledc_ll_timer_pause() argument 106 hw->timer_group[speed_mode].timer[timer_sel].conf.pause = 1; in ledc_ll_timer_pause() 118 …c inline void ledc_ll_timer_resume(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t timer_sel){ in ledc_ll_timer_resume() argument 119 hw->timer_group[speed_mode].timer[timer_sel].conf.pause = 0; in ledc_ll_timer_resume() 132 …_set_clock_divider(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t timer_sel, uint32_t clock_… in ledc_ll_set_clock_divider() argument [all …]
|
D | adc_ll.h | 312 APB_SARADC.ctrl2.timer_sel = 1; in adc_ll_digi_trigger_enable() 322 APB_SARADC.ctrl2.timer_sel = 0; in adc_ll_digi_trigger_disable()
|
/hal_espressif-3.6.0/components/hal/esp32s3/include/hal/ |
D | ledc_ll.h | 80 …inline void ledc_ll_ls_timer_update(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t timer_sel) in ledc_ll_ls_timer_update() argument 82 hw->timer_group[speed_mode].timer[timer_sel].conf.low_speed_update = 1; 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() argument 96 hw->timer_group[speed_mode].timer[timer_sel].conf.rst = 1; in ledc_ll_timer_rst() 97 hw->timer_group[speed_mode].timer[timer_sel].conf.rst = 0; in ledc_ll_timer_rst() 109 …tic inline void ledc_ll_timer_pause(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t timer_sel) in ledc_ll_timer_pause() argument 111 hw->timer_group[speed_mode].timer[timer_sel].conf.pause = 1; in ledc_ll_timer_pause() 123 …ic inline void ledc_ll_timer_resume(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t timer_sel) in ledc_ll_timer_resume() argument 125 hw->timer_group[speed_mode].timer[timer_sel].conf.pause = 0; in ledc_ll_timer_resume() 138 …_set_clock_divider(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t timer_sel, uint32_t clock_… in ledc_ll_set_clock_divider() argument [all …]
|
/hal_espressif-3.6.0/components/hal/esp32/include/hal/ |
D | ledc_ll.h | 67 …nline void ledc_ll_ls_timer_update(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t timer_sel){ in ledc_ll_ls_timer_update() argument 68 hw->timer_group[speed_mode].timer[timer_sel].conf.low_speed_update = 1; 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() argument 81 hw->timer_group[speed_mode].timer[timer_sel].conf.rst = 1; in ledc_ll_timer_rst() 82 hw->timer_group[speed_mode].timer[timer_sel].conf.rst = 0; in ledc_ll_timer_rst() 94 …ic inline void ledc_ll_timer_pause(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t timer_sel){ in ledc_ll_timer_pause() argument 95 hw->timer_group[speed_mode].timer[timer_sel].conf.pause = 1; in ledc_ll_timer_pause() 107 …c inline void ledc_ll_timer_resume(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t timer_sel){ in ledc_ll_timer_resume() argument 108 hw->timer_group[speed_mode].timer[timer_sel].conf.pause = 0; in ledc_ll_timer_resume() 121 …_set_clock_divider(ledc_dev_t *hw, ledc_mode_t speed_mode, ledc_timer_t timer_sel, uint32_t clock_… in ledc_ll_set_clock_divider() argument [all …]
|
/hal_espressif-3.6.0/components/driver/ |
D | ledc.c | 73 static void ledc_ls_timer_update(ledc_mode_t speed_mode, ledc_timer_t timer_sel) in ledc_ls_timer_update() argument 76 ledc_hal_ls_timer_update(&(p_ledc_obj[speed_mode]->ledc_hal), timer_sel); in ledc_ls_timer_update() 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() argument 173 LEDC_ARG_CHECK(timer_sel < LEDC_TIMER_MAX, "timer_select"); in ledc_timer_set() 176 ledc_hal_set_clock_divider(&(p_ledc_obj[speed_mode]->ledc_hal), timer_sel, clock_divider); in ledc_timer_set() 177 ledc_hal_set_clock_source(&(p_ledc_obj[speed_mode]->ledc_hal), timer_sel, clk_src); in ledc_timer_set() 178 ledc_hal_set_duty_resolution(&(p_ledc_obj[speed_mode]->ledc_hal), timer_sel, duty_resolution); in ledc_timer_set() 179 ledc_ls_timer_update(speed_mode, timer_sel); in ledc_timer_set() 203 …r_t ledc_bind_channel_timer(ledc_mode_t speed_mode, ledc_channel_t channel, ledc_timer_t timer_sel) in ledc_bind_channel_timer() argument 206 LEDC_ARG_CHECK(timer_sel < LEDC_TIMER_MAX, "timer_select"); in ledc_bind_channel_timer() [all …]
|
/hal_espressif-3.6.0/examples/peripherals/ledc/ledc_fade/main/ |
D | ledc_fade_example_main.c | 124 .timer_sel = LEDC_HS_TIMER, in app_main() 133 .timer_sel = LEDC_HS_TIMER, in app_main() 143 .timer_sel = LEDC_LS_TIMER, in app_main() 152 .timer_sel = LEDC_LS_TIMER, in app_main() 162 .timer_sel = LEDC_LS_TIMER, in app_main() 171 .timer_sel = LEDC_LS_TIMER, in app_main()
|
/hal_espressif-3.6.0/components/driver/include/driver/ |
D | ledc.h | 270 esp_err_t ledc_timer_set(ledc_mode_t speed_mode, ledc_timer_t timer_sel, uint32_t clock_divider, ui… 282 esp_err_t ledc_timer_rst(ledc_mode_t speed_mode, ledc_timer_t timer_sel); 295 esp_err_t ledc_timer_pause(ledc_mode_t speed_mode, ledc_timer_t timer_sel); 307 esp_err_t ledc_timer_resume(ledc_mode_t speed_mode, ledc_timer_t timer_sel); 320 …_t ledc_bind_channel_timer(ledc_mode_t speed_mode, ledc_channel_t channel, ledc_timer_t timer_sel);
|
/hal_espressif-3.6.0/components/driver/test/ |
D | test_ledc.c | 55 config.timer_sel = LEDC_TIMER_0; in initialize_channel_config() 101 ledc_ch_config.timer_sel = timer; in timer_duty_test() 172 .timer_sel = timer, in timer_frequency_test() 185 frequency_set_get(ledc_ch_config.speed_mode, ledc_ch_config.timer_sel, 100, 100, 2); in timer_frequency_test() 186 frequency_set_get(ledc_ch_config.speed_mode, ledc_ch_config.timer_sel, 5000, 5000, 5); in timer_frequency_test() 187 frequency_set_get(ledc_ch_config.speed_mode, ledc_ch_config.timer_sel, 9000, 9025, 5); in timer_frequency_test() 225 ledc_ch_config.timer_sel = LEDC_TIMER_MAX; 292 ledc_ch_config.timer_sel = timer_select[k]; 468 .timer_sel = LEDC_TIMER_0, 521 .timer_sel = LEDC_TIMER_0,
|
D | test_pcnt.c | 84 .timer_sel = LEDC_TIMER_1, in produce_pulse() 190 .timer_sel = LEDC_TIMER_1, in count_mode_test()
|
/hal_espressif-3.6.0/components/hal/ |
D | ledc_hal.c | 28 void ledc_hal_get_clk_cfg(ledc_hal_context_t *hal, ledc_timer_t timer_sel, ledc_clk_cfg_t *clk_cfg) in ledc_hal_get_clk_cfg() argument 31 ledc_hal_get_clock_source(hal, timer_sel, &clk_src); in ledc_hal_get_clk_cfg()
|
/hal_espressif-3.6.0/examples/peripherals/ledc/ledc_basic/main/ |
D | ledc_basic_example_main.c | 37 .timer_sel = LEDC_TIMER, in example_ledc_init()
|
/hal_espressif-3.6.0/examples/peripherals/pcnt/pulse_count_event/main/ |
D | pcnt_event_example_main.c | 95 ledc_channel.timer_sel = LEDC_TIMER_1; in ledc_init()
|
/hal_espressif-3.6.0/examples/mesh/internal_communication/main/ |
D | mesh_light.c | 56 .timer_sel = LEDC_TIMER_0, in mesh_light_init()
|
/hal_espressif-3.6.0/examples/mesh/manual_networking/main/ |
D | mesh_light.c | 59 .timer_sel = LEDC_TIMER_0, in mesh_light_init()
|
/hal_espressif-3.6.0/components/soc/esp32c3/include/soc/ |
D | ledc_struct.h | 25 uint32_t timer_sel: 2; member
|
/hal_espressif-3.6.0/components/soc/esp32h2/include/soc/ |
D | ledc_struct.h | 25 uint32_t timer_sel: 2; member
|
/hal_espressif-3.6.0/components/soc/esp32s2/include/soc/ |
D | ledc_struct.h | 25 …uint32_t timer_sel: 2; /*There are four high speed timers the two bits are used to … member
|
D | apb_saradc_struct.h | 48 … uint32_t timer_sel: 1; /*1: select saradc timer 0: i2s_ws trigger*/ member
|
/hal_espressif-3.6.0/components/soc/esp32s3/include/soc/ |
D | ledc_struct.h | 28 uint32_t timer_sel: 2; member
|
D | apb_saradc_struct.h | 43 … uint32_t timer_sel : 1; /*1: select saradc timer 0: i2s_ws trigger*/ member
|
/hal_espressif-3.6.0/components/soc/esp32/include/soc/ |
D | ledc_struct.h | 28 …uint32_t timer_sel: 2; /*There are four high speed timers the two bits are used to … member
|