Lines Matching refs:hal
37 ledc_hal_context_t hal; member
79 ledc_hal_ls_channel_update(&data->hal, channel); in pwm_led_esp32_low_speed_update()
87 ledc_hal_set_sig_out_en(&data->hal, channel, true); in pwm_led_esp32_update_duty()
88 ledc_hal_set_duty_start(&data->hal, channel, true); in pwm_led_esp32_update_duty()
98 ledc_hal_set_hpoint(&data->hal, channel->channel_num, 0); in pwm_led_esp32_duty_set()
99 ledc_hal_set_duty_int_part(&data->hal, channel->channel_num, channel->duty_val); in pwm_led_esp32_duty_set()
100 ledc_hal_set_duty_direction(&data->hal, channel->channel_num, 1); in pwm_led_esp32_duty_set()
101 ledc_hal_set_duty_num(&data->hal, channel->channel_num, 1); in pwm_led_esp32_duty_set()
102 ledc_hal_set_duty_cycle(&data->hal, channel->channel_num, 1); in pwm_led_esp32_duty_set()
103 ledc_hal_set_duty_scale(&data->hal, channel->channel_num, 0); in pwm_led_esp32_duty_set()
126 ledc_hal_bind_channel_timer(&data->hal, channel->channel_num, channel->timer_num); in pwm_led_esp32_bind_channel_timer()
243 ledc_hal_set_slow_clk_sel(&data->hal, channel->clock_src); in pwm_led_esp32_timer_set()
246 ledc_hal_set_clock_divider(&data->hal, channel->timer_num, prescaler); in pwm_led_esp32_timer_set()
247 ledc_hal_set_duty_resolution(&data->hal, channel->timer_num, channel->resolution); in pwm_led_esp32_timer_set()
248 ledc_hal_set_clock_source(&data->hal, channel->timer_num, channel->clock_src); in pwm_led_esp32_timer_set()
251 ledc_hal_ls_timer_update(&data->hal, channel->timer_num); in pwm_led_esp32_timer_set()
255 ledc_hal_timer_rst(&data->hal, channel->timer_num); in pwm_led_esp32_timer_set()
306 ledc_hal_init(&data->hal, channel->speed_mode); in pwm_led_esp32_set_cycles()
388 .hal = {