/hal_espressif-3.5.0/components/driver/test/ |
D | test_timer.c | 40 TIMER_INFO_INIT(TIMER_GROUP_0, TIMER_0), 42 TIMER_INFO_INIT(TIMER_GROUP_1, TIMER_0), 45 TIMER_INFO_INIT(TIMER_GROUP_0, TIMER_0), 46 TIMER_INFO_INIT(TIMER_GROUP_1, TIMER_0), 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)); 354 TEST_ASSERT_EQUAL(ESP_ERR_INVALID_ARG, timer_init(-1, TIMER_0, &config)); 357 TEST_ASSERT_EQUAL(ESP_ERR_INVALID_ARG, timer_init(2, TIMER_0, &config)); 424 TEST_ASSERT_EQUAL(ESP_ERR_INVALID_ARG, timer_start(2, TIMER_0)); [all …]
|
/hal_espressif-3.5.0/components/freertos/test/ |
D | test_suspend_scheduler.c | 30 timer_group_clr_intr_status_in_isr(TIMER_GROUP_0, TIMER_0); in timer_group0_isr() 31 timer_group_enable_alarm_in_isr(TIMER_GROUP_0, TIMER_0); in timer_group0_isr() 85 timer_init(TIMER_GROUP_0, TIMER_0, &timer_config); 86 timer_pause(TIMER_GROUP_0, TIMER_0); 87 timer_set_counter_value(TIMER_GROUP_0, TIMER_0, 0); 88 timer_set_alarm_value(TIMER_GROUP_0, TIMER_0, 1000); 89 timer_enable_intr(TIMER_GROUP_0, TIMER_0); 90 timer_isr_register(TIMER_GROUP_0, TIMER_0, timer_group0_isr, NULL, 0, &isr_handle); 91 timer_start(TIMER_GROUP_0, TIMER_0); 112 timer_disable_intr(TIMER_GROUP_0, TIMER_0); [all …]
|
D | test_task_suspend_resume.c | 128 timer_group_clr_intr_status_in_isr(TIMER_GROUP_0, TIMER_0); in timer_group0_isr() 146 timer_get_counter_value(TIMER_GROUP_0, TIMER_0, vp_resumed); in task_suspend_self_with_timer() 182 ESP_ERROR_CHECK( timer_init(TIMER_GROUP_0, TIMER_0, &config) ); in test_resume_task_from_isr() 183 ESP_ERROR_CHECK( timer_pause(TIMER_GROUP_0, TIMER_0) ); in test_resume_task_from_isr() 184 ESP_ERROR_CHECK( timer_set_counter_value(TIMER_GROUP_0, TIMER_0, 0) ); in test_resume_task_from_isr() 185 ESP_ERROR_CHECK( timer_set_alarm_value(TIMER_GROUP_0, TIMER_0, TEST_TIMER_ALARM) ); in test_resume_task_from_isr() 186 ESP_ERROR_CHECK( timer_enable_intr(TIMER_GROUP_0, TIMER_0) ); in test_resume_task_from_isr() 187 …ESP_ERROR_CHECK( timer_isr_register(TIMER_GROUP_0, TIMER_0, timer_group0_isr, (void*)suspend_task,… in test_resume_task_from_isr() 191 ESP_ERROR_CHECK( timer_start(TIMER_GROUP_0, TIMER_0) ); in test_resume_task_from_isr() 202 timer_deinit(TIMER_GROUP_0, TIMER_0); in test_resume_task_from_isr()
|
D | test_freertos_eventgroups.c | 147 timer_group_clr_intr_status_in_isr(TIMER_GROUP_0, TIMER_0); in event_group_isr()
|
/hal_espressif-3.5.0/examples/peripherals/wave_gen/main/ |
D | wave_gen_example_main.c | 52 timer_group_clr_intr_status_in_isr(TIMER_GROUP_0, TIMER_0); in timer0_ISR() 53 timer_group_enable_alarm_in_isr(TIMER_GROUP_0, TIMER_0); in timer0_ISR() 82 ret = timer_enable_intr(TIMER_GROUP_0, TIMER_0); in example_timer_init() 90 timer_pause(TIMER_GROUP_0, TIMER_0); in prepare_data() 103 timer_start(TIMER_GROUP_0, TIMER_0); in prepare_data() 131 example_timer_init(TIMER_0, WITH_RELOAD); in app_main()
|
/hal_espressif-3.5.0/components/spi_flash/test/ |
D | test_spi_flash.c | 147 timer_group_clr_intr_status_in_isr(TIMER_GROUP_0, TIMER_0); in timer_isr() 148 timer_group_enable_alarm_in_isr(TIMER_GROUP_0, TIMER_0); in timer_isr() 188 ESP_ERROR_CHECK( timer_init(TIMER_GROUP_0, TIMER_0, &config) ); 189 timer_pause(TIMER_GROUP_0, TIMER_0); 190 ESP_ERROR_CHECK( timer_set_alarm_value(TIMER_GROUP_0, TIMER_0, 120) ); 192 …ESP_ERROR_CHECK( timer_isr_register(TIMER_GROUP_0, TIMER_0, &timer_isr, &block_arg, ESP_INTR_FLAG_… 193 timer_set_counter_value(TIMER_GROUP_0, TIMER_0, 0); 194 timer_enable_intr(TIMER_GROUP_0, TIMER_0); 195 timer_start(TIMER_GROUP_0, TIMER_0); 200 timer_pause(TIMER_GROUP_0, TIMER_0); [all …]
|
/hal_espressif-3.5.0/components/vfs/test/ |
D | test_vfs_eventfd.c | 224 timer_group_clr_intr_status_in_isr(TIMER_GROUP_0, TIMER_0); in eventfd_select_test_isr() 244 TEST_ESP_OK(timer_init(TIMER_GROUP_0, TIMER_0, &timer_config)); 246 TEST_ESP_OK(timer_set_counter_value(TIMER_GROUP_0, TIMER_0, 0x00000000ULL)); 248 TEST_ESP_OK(timer_set_alarm_value(TIMER_GROUP_0, TIMER_0, TIMER_BASE_CLK / 16)); 249 TEST_ESP_OK(timer_enable_intr(TIMER_GROUP_0, TIMER_0)); 250 TEST_ESP_OK(timer_isr_register(TIMER_GROUP_0, TIMER_0, eventfd_select_test_isr, 252 TEST_ESP_OK(timer_start(TIMER_GROUP_0, TIMER_0)); 267 timer_deinit(TIMER_GROUP_0, TIMER_0);
|
/hal_espressif-3.5.0/examples/system/sysview_tracing/main/ |
D | sysview_tracing.c | 164 .timer = TIMER_0, in app_main() 169 .timer = TIMER_0, in app_main() 186 example_timer_init(TIMER_GROUP_1, TIMER_0, 2000); in app_main() 192 example_timer_init(TIMER_GROUP_0, TIMER_0, 4000); in app_main()
|
/hal_espressif-3.5.0/components/esp_pm/test/ |
D | test_pm.c | 140 timer_init(TIMER_GROUP_0, TIMER_0, &config); 141 timer_set_counter_value(TIMER_GROUP_0, TIMER_0, 0); 142 timer_start(TIMER_GROUP_0, TIMER_0); 155 timer_get_counter_value(TIMER_GROUP_0, TIMER_0, &count_start); 158 timer_get_counter_value(TIMER_GROUP_0, TIMER_0, &count_end);
|
/hal_espressif-3.5.0/examples/system/eventfd/main/ |
D | eventfd_example.c | 49 timer_group_clr_intr_status_in_isr(TIMER_GROUP_0, TIMER_0); in eventfd_timer_isr_callback() 166 timer_deinit(TIMER_GROUP_0, TIMER_0); in collector_task() 175 eventfd_timer_init(TIMER_0, TIMER_INTERVAL_SEC); in app_main()
|
/hal_espressif-3.5.0/examples/peripherals/timer_group/main/ |
D | timer_group_example_main.c | 116 example_tg_timer_init(TIMER_GROUP_0, TIMER_0, true, 3); in app_main() 117 example_tg_timer_init(TIMER_GROUP_1, TIMER_0, false, 5); in app_main()
|
/hal_espressif-3.5.0/components/app_trace/test/ |
D | test_trace.c | 498 s_test_timers[0].id = TIMER_0; 552 s_test_timers[0].id = TIMER_0; 559 s_test_timers[1].id = TIMER_0; 616 s_test_timers[0].id = TIMER_0; 889 .timer = TIMER_0, 903 esp_apptrace_test_timer_init(TIMER_GROUP_1, TIMER_0, 100); 940 .timer = TIMER_0, 973 esp_apptrace_test_timer_init(TIMER_GROUP_1, TIMER_0, 100);
|
/hal_espressif-3.5.0/components/hal/include/hal/ |
D | timer_types.h | 42 TIMER_0 = 0, /*!<Select timer0 of GROUPx*/ enumerator
|
/hal_espressif-3.5.0/components/esp_event/test/ |
D | test_event.c | 1981 timer_group_get_counter_value_in_isr(TIMER_GROUP_0, TIMER_0); in test_event_on_timer_alarm() 1982 timer_group_clr_intr_status_in_isr(TIMER_GROUP_0, TIMER_0); in test_event_on_timer_alarm() 1984 timer_group_set_alarm_value_in_isr(TIMER_GROUP_0, TIMER_0, timer_counter_value); in test_event_on_timer_alarm() 2010 timer_init(TIMER_GROUP_0, TIMER_0, &config); 2014 timer_set_counter_value(TIMER_GROUP_0, TIMER_0, 0x00000000ULL); 2017 timer_set_alarm_value(TIMER_GROUP_0, TIMER_0, TIMER_INTERVAL0_SEC * TIMER_SCALE); 2018 timer_enable_intr(TIMER_GROUP_0, TIMER_0); 2019 timer_isr_register(TIMER_GROUP_0, TIMER_0, test_event_on_timer_alarm, 2022 timer_start(TIMER_GROUP_0, TIMER_0);
|
/hal_espressif-3.5.0/examples/peripherals/mcpwm/mcpwm_brushed_dc_control/components/motor_ctrl_timer/ |
D | motor_ctrl_timer.c | 18 #define MOTOR_CONTROL_TIMER_ID TIMER_0
|
/hal_espressif-3.5.0/examples/bluetooth/esp_ble_mesh/common_components/light_driver/ |
D | iot_led.c | 298 if ((intr_status & BIT(timer_idx)) && timer_idx == TIMER_0) { in fade_timercb() 320 if ((intr_status & BIT(timer_idx)) && timer_idx == TIMER_0) { in fade_timercb()
|
D | iot_light.c | 176 if ((intr_status & BIT(timer_idx)) && timer_idx == TIMER_0) { in breath_timer_callback() 189 if ((intr_status & BIT(timer_idx)) && timer_idx == TIMER_0) { in breath_timer_callback()
|
/hal_espressif-3.5.0/components/driver/ |
D | timer.c | 411 if (p_timer_obj[group_num][TIMER_0] != NULL) { in timer_group_get_intr_status_in_isr() 412 timer_hal_get_intr_status(&(p_timer_obj[group_num][TIMER_0]->hal), &intr_status); in timer_group_get_intr_status_in_isr()
|
/hal_espressif-3.5.0/components/esp_ringbuf/test/ |
D | test_ringbuf.c | 717 timer_group_clr_intr_status_in_isr(TIMER_GROUP_0, TIMER_0); in ringbuffer_isr()
|