Searched refs:periodic_timer (Results 1 – 6 of 6) sorted by relevance
/hal_espressif-3.6.0/examples/system/esp_timer/main/ |
D | esp_timer_example_main.c | 37 esp_timer_handle_t periodic_timer; in app_main() local 38 ESP_ERROR_CHECK(esp_timer_create(&periodic_timer_args, &periodic_timer)); in app_main() 44 .arg = (void*) periodic_timer, in app_main() 51 ESP_ERROR_CHECK(esp_timer_start_periodic(periodic_timer, 500000)); in app_main() 77 ESP_ERROR_CHECK(esp_timer_stop(periodic_timer)); in app_main() 78 ESP_ERROR_CHECK(esp_timer_delete(periodic_timer)); in app_main()
|
/hal_espressif-3.6.0/components/esp_timer/test/ |
D | test_esp_timer_light_sleep.c | 27 esp_timer_handle_t periodic_timer; variable 28 esp_timer_create(&timer_args, &periodic_timer); 32 TEST_ESP_OK(esp_timer_start_periodic(periodic_timer, period_cb_ms * 1000)); 44 TEST_ESP_OK(esp_timer_stop(periodic_timer)); 47 TEST_ESP_OK(esp_timer_delete(periodic_timer));
|
D | test_esp_timer.c | 772 esp_timer_handle_t periodic_timer[max_timers]; variable 775 esp_timer_create(&periodic_timer_args, &periodic_timer[0]); 776 esp_timer_start_periodic(periodic_timer[0], 9000); 778 esp_timer_create(&periodic_timer_args, &periodic_timer[1]); 779 esp_timer_start_periodic(periodic_timer[1], 9000); 784 esp_timer_stop(periodic_timer[0]); 785 esp_timer_delete(periodic_timer[0]); 786 esp_timer_stop(periodic_timer[1]); 787 esp_timer_delete(periodic_timer[1]); 822 esp_timer_handle_t periodic_timer; variable [all …]
|
/hal_espressif-3.6.0/components/esp_pm/test/ |
D | test_pm.c | 387 esp_timer_handle_t periodic_timer; variable 388 esp_timer_create(&timer_args, &periodic_timer); 389 TEST_ESP_OK(esp_timer_start_periodic(periodic_timer, timer_interval_ms * 1000)); 402 TEST_ESP_OK(esp_timer_stop(periodic_timer)); 404 TEST_ESP_OK(esp_timer_delete(periodic_timer));
|
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/ble_ancs/main/ |
D | ble_ancs_demo.c | 39 esp_timer_handle_t periodic_timer; variable 237 esp_timer_stop(periodic_timer); in periodic_timer_callback() 513 esp_timer_start_periodic(periodic_timer, 500000); in gattc_profile_event_handler() 515 esp_timer_stop(periodic_timer); in gattc_profile_event_handler() 597 ESP_ERROR_CHECK(esp_timer_create(&periodic_timer_args, &periodic_timer)); in init_timer()
|
/hal_espressif-3.6.0/examples/bluetooth/hci/ble_adv_scan_combined/main/ |
D | app_bt.c | 386 esp_timer_handle_t periodic_timer; in app_main() local 387 ESP_ERROR_CHECK(esp_timer_create(&periodic_timer_args, &periodic_timer)); in app_main() 390 ESP_ERROR_CHECK(esp_timer_start_periodic(periodic_timer, 5000000)); in app_main()
|