Lines Matching refs:TEST_ESP_OK
121 TEST_ESP_OK(timer_deinit(tg_idx, timer_idx)); in all_timer_deinit()
135 TEST_ESP_OK(timer_start(tg_idx, timer_idx)); in all_timer_start()
144 TEST_ESP_OK(timer_set_counter_value(tg_idx, timer_idx, set_cnt_val)); in all_timer_set_counter_value()
153 TEST_ESP_OK(timer_pause(tg_idx, timer_idx)); in all_timer_pause()
164 TEST_ESP_OK(timer_get_counter_value(tg_idx, timer_idx, ¤t_cnt_val)); in all_timer_get_counter_value()
182 TEST_ESP_OK(timer_get_counter_time_sec(tg_idx, timer_idx, &time)); in all_timer_get_counter_time_sec()
192 TEST_ESP_OK(timer_set_counter_mode(tg_idx, timer_idx, counter_dir)); in all_timer_set_counter_mode()
201 TEST_ESP_OK(timer_set_divider(tg_idx, timer_idx, divider)); in all_timer_set_divider()
210 TEST_ESP_OK(timer_set_alarm_value(tg_idx, timer_idx, alarm_cnt_val)); in all_timer_set_alarm_value()
219 …TEST_ESP_OK(timer_get_alarm_value(tg_idx, timer_idx, &alarm_vals[tg_idx * SOC_TIMER_GROUP_TIMERS_P… in all_timer_get_alarm_value()
228 TEST_ESP_OK(timer_isr_register(tg_idx, timer_idx, test_timer_group_isr, in all_timer_isr_reg()
238 …TEST_ESP_OK(esp_intr_free(timer_isr_handles[tg_idx * SOC_TIMER_GROUP_TIMERS_PER_GROUP + timer_idx]… in all_timer_isr_unreg()
246 TEST_ESP_OK(timer_pause(timer_group, timer_idx)); in timer_intr_enable_and_start()
247 TEST_ESP_OK(timer_set_counter_value(timer_group, timer_idx, 0x0)); in timer_intr_enable_and_start()
248 TEST_ESP_OK(timer_set_alarm_value(timer_group, timer_idx, alarm_time * TIMER_SCALE)); in timer_intr_enable_and_start()
249 TEST_ESP_OK(timer_set_alarm(timer_group, timer_idx, TIMER_ALARM_EN)); in timer_intr_enable_and_start()
250 TEST_ESP_OK(timer_enable_intr(timer_group, timer_idx)); in timer_intr_enable_and_start()
251 TEST_ESP_OK(timer_start(timer_group, timer_idx)); in timer_intr_enable_and_start()
268 TEST_ESP_OK(timer_set_counter_value(group_num, timer_num, 0)); in timer_intr_enable_disable_test()
269 TEST_ESP_OK(timer_set_alarm(group_num, timer_num, TIMER_ALARM_EN)); in timer_intr_enable_disable_test()
270 TEST_ESP_OK(timer_enable_intr(group_num, timer_num)); in timer_intr_enable_disable_test()
271 TEST_ESP_OK(timer_start(group_num, timer_num)); in timer_intr_enable_disable_test()
277 TEST_ESP_OK(timer_pause(group_num, timer_num)); in timer_intr_enable_disable_test()
278 TEST_ESP_OK(timer_set_counter_value(group_num, timer_num, 0)); in timer_intr_enable_disable_test()
279 TEST_ESP_OK(timer_disable_intr(group_num, timer_num)); in timer_intr_enable_disable_test()
280 TEST_ESP_OK(timer_start(group_num, timer_num)); in timer_intr_enable_disable_test()
322 TEST_ESP_OK(timer_get_config(TIMER_GROUP_1, TIMER_0, &get_config));
338 TEST_ESP_OK(timer_init(TIMER_GROUP_0, TIMER_0, &config));
339 TEST_ESP_OK(timer_get_config(TIMER_GROUP_0, TIMER_0, &get_config));
611 TEST_ESP_OK(timer_set_alarm(TIMER_GROUP_0, TIMER_0, TIMER_ALARM_EN));
619 TEST_ESP_OK(timer_set_alarm(TIMER_GROUP_0, TIMER_0, TIMER_ALARM_DIS));
625 TEST_ESP_OK(timer_set_alarm(TIMER_GROUP_1, TIMER_0, TIMER_ALARM_EN));
633 TEST_ESP_OK(timer_set_alarm(TIMER_GROUP_1, TIMER_0, TIMER_ALARM_DIS));
700 TEST_ESP_OK(timer_set_auto_reload(TIMER_GROUP_0, TIMER_0, TIMER_AUTORELOAD_EN));
703 TEST_ESP_OK(timer_set_auto_reload(TIMER_GROUP_1, TIMER_0, TIMER_AUTORELOAD_EN));
736 TEST_ESP_OK(timer_pause(TIMER_GROUP_1, TIMER_0));
737 TEST_ESP_OK(timer_set_counter_value(TIMER_GROUP_1, TIMER_0, 0));
738 TEST_ESP_OK(timer_set_alarm(TIMER_GROUP_1, TIMER_0, TIMER_ALARM_EN));
739 TEST_ESP_OK(timer_enable_intr(TIMER_GROUP_1, TIMER_0));
740 TEST_ESP_OK(timer_start(TIMER_GROUP_1, TIMER_0));
771 TEST_ESP_OK(timer_group_intr_enable(TIMER_GROUP_0, TIMER_INTR_T0));
772 TEST_ESP_OK(timer_isr_register(TIMER_GROUP_0, TIMER_0, test_timer_group_isr,
774 TEST_ESP_OK(timer_start(TIMER_GROUP_0, TIMER_0));
780 TEST_ESP_OK(timer_set_counter_value(TIMER_GROUP_0, TIMER_0, set_timer_val));
781 TEST_ESP_OK(timer_group_intr_disable(TIMER_GROUP_0, TIMER_INTR_T0));
782 TEST_ESP_OK(timer_start(TIMER_GROUP_0, TIMER_0));
808 TEST_ESP_OK(timer_isr_register(tg_idx, timer_idx, test_timer_group_isr,
813 TEST_ESP_OK(timer_set_alarm(TIMER_GROUP_0, TIMER_0, TIMER_ALARM_EN));
815 TEST_ESP_OK(timer_set_alarm(TIMER_GROUP_1, TIMER_0, TIMER_ALARM_EN));
818 TEST_ESP_OK(timer_set_auto_reload(TIMER_GROUP_0, TIMER_0, TIMER_AUTORELOAD_EN));
819 TEST_ESP_OK(timer_set_alarm(TIMER_GROUP_0, TIMER_0, TIMER_ALARM_EN));
821 TEST_ESP_OK(timer_set_auto_reload(TIMER_GROUP_1, TIMER_0, TIMER_AUTORELOAD_EN));
822 TEST_ESP_OK(timer_set_alarm(TIMER_GROUP_1, TIMER_0, TIMER_ALARM_EN));
829 …TEST_ESP_OK(esp_intr_free(timer_isr_handle[tg_idx * SOC_TIMER_GROUP_TIMERS_PER_GROUP + timer_idx])…
902 TEST_ESP_OK(timer_isr_callback_add(TIMER_GROUP_0, TIMER_0, test_timer_group_isr_cb,
904 TEST_ESP_OK(timer_set_counter_value(TIMER_GROUP_0, TIMER_0, set_timer_val));
905 TEST_ESP_OK(timer_start(TIMER_GROUP_0, TIMER_0));
910 TEST_ESP_OK(timer_pause(TIMER_GROUP_0, TIMER_0));
911 TEST_ESP_OK(timer_isr_callback_remove(TIMER_GROUP_0, TIMER_0));
913 TEST_ESP_OK(timer_set_counter_value(TIMER_GROUP_0, TIMER_0, set_timer_val));
914 TEST_ESP_OK(timer_start(TIMER_GROUP_0, TIMER_0));
919 TEST_ESP_OK(timer_pause(TIMER_GROUP_1, TIMER_0));
920 TEST_ESP_OK(timer_isr_callback_add(TIMER_GROUP_1, TIMER_0, test_timer_group_isr_cb,
922 TEST_ESP_OK(timer_set_counter_value(TIMER_GROUP_1, TIMER_0, set_timer_val));
923 TEST_ESP_OK(timer_start(TIMER_GROUP_1, TIMER_0));
928 TEST_ESP_OK(timer_pause(TIMER_GROUP_1, TIMER_0));
929 TEST_ESP_OK(timer_isr_callback_remove(TIMER_GROUP_1, TIMER_0));
931 TEST_ESP_OK(timer_set_counter_value(TIMER_GROUP_1, TIMER_0, set_timer_val));
932 TEST_ESP_OK(timer_start(TIMER_GROUP_1, TIMER_0));
974 TEST_ESP_OK(timer_init(TIMER_GROUP_0, TIMER_0, &config)); in timer_group_test_init()
975 TEST_ESP_OK(timer_set_counter_value(TIMER_GROUP_0, TIMER_0, 0x00000000ULL)); in timer_group_test_init()
976 TEST_ESP_OK(timer_set_alarm_value(TIMER_GROUP_0, TIMER_0, ste_val)); in timer_group_test_init()
986 TEST_ESP_OK(timer_enable_intr(TIMER_GROUP_0, TIMER_0)); in timer_group_test_first_stage()
987 TEST_ESP_OK(timer_start(TIMER_GROUP_0, TIMER_0)); in timer_group_test_first_stage()
1003 TEST_ESP_OK(timer_enable_intr(TIMER_GROUP_0, TIMER_0)); in timer_group_test_second_stage()
1021 TEST_ESP_OK(timer_enable_intr(TIMER_GROUP_0, TIMER_0));
1022 TEST_ESP_OK(timer_start(TIMER_GROUP_0, TIMER_0));
1026 TEST_ESP_OK(timer_deinit(TIMER_GROUP_0, TIMER_0));
1036 TEST_ESP_OK(timer_init(TIMER_GROUP_0, TIMER_0, &config));
1038 TEST_ESP_OK(timer_enable_intr(TIMER_GROUP_0, TIMER_0));