Lines Matching refs:LEDC_TIMER_0
55 config.timer_sel = LEDC_TIMER_0; in initialize_channel_config()
67 ledc_time_config.timer_num = LEDC_TIMER_0; in create_default_timer_config()
284 ledc_timer_t timer_select[4] = {LEDC_TIMER_0, LEDC_TIMER_1, LEDC_TIMER_2, LEDC_TIMER_3};
325 ledc_timer_t timer_list[4] = {LEDC_TIMER_0, LEDC_TIMER_1, LEDC_TIMER_2, LEDC_TIMER_3};
449 timer_frequency_test(LEDC_CHANNEL_0, LEDC_TIMER_13_BIT, LEDC_TIMER_0, LEDC_HIGH_SPEED_MODE);
454 timer_frequency_test(LEDC_CHANNEL_0, LEDC_TIMER_13_BIT, LEDC_TIMER_0, LEDC_LOW_SPEED_MODE);
468 .timer_sel = LEDC_TIMER_0,
477 .timer_num = LEDC_TIMER_0,
486 TEST_ESP_OK(ledc_timer_set(test_speed_mode, LEDC_TIMER_0, 1000, 10, LEDC_REF_TICK));
487 TEST_ESP_OK(ledc_timer_rst(test_speed_mode, LEDC_TIMER_0));
488 TEST_ASSERT_EQUAL_INT32(ledc_get_freq(test_speed_mode, LEDC_TIMER_0), 250);
489 freq_get = ledc_get_freq(test_speed_mode, LEDC_TIMER_0);
494 TEST_ESP_OK(ledc_timer_set(test_speed_mode, LEDC_TIMER_0, 5000, 13, LEDC_APB_CLK));
495 TEST_ESP_OK(ledc_timer_rst(test_speed_mode, LEDC_TIMER_0));
496 TEST_ASSERT_EQUAL_INT32(ledc_get_freq(test_speed_mode, LEDC_TIMER_0), 500);
497 freq_get = ledc_get_freq(test_speed_mode, LEDC_TIMER_0);
502 TEST_ESP_OK(ledc_bind_channel_timer(test_speed_mode, LEDC_CHANNEL_0, LEDC_TIMER_0));
504 TEST_ASSERT_EQUAL_INT32(ledc_get_freq(test_speed_mode, LEDC_TIMER_0), 500);
521 .timer_sel = LEDC_TIMER_0,
530 .timer_num = LEDC_TIMER_0,
541 TEST_ESP_OK(ledc_timer_pause(test_speed_mode, LEDC_TIMER_0));
549 TEST_ESP_OK(ledc_timer_resume(test_speed_mode, LEDC_TIMER_0));
556 TEST_ESP_OK(ledc_timer_rst(test_speed_mode, LEDC_TIMER_0));