Home
last modified time | relevance | path

Searched refs:timer_num (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/pwm/
Dpwm_led_esp32.c44 const uint8_t timer_num; member
126 ledc_hal_bind_channel_timer(&data->hal, channel->channel_num, channel->timer_num); in pwm_led_esp32_bind_channel_timer()
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()
368 .timer_num = DT_PROP(node_id, timer), \
/Zephyr-latest/tests/kernel/timer/timer_api/src/
Dmain.c594 int timer_num = timer == user_data_timer[0] ? 0 : in user_data_timer_handler() local
600 if (timer_num == -1) { in user_data_timer_handler()
606 user_data_correct[timer_num] = user_data[timer_num] == data_retrieved; in user_data_timer_handler()