esp_timer.h 462 B

12345678910111213141516171819202122
  1. /*
  2. * SPDX-FileCopyrightText: 2015-2021 Espressif Systems (Shanghai) CO LTD
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * This is a STUB FILE HEADER used when compiling ESP-IDF to run tests on the host system.
  7. * The header file used normally for ESP-IDF has the same name but is located elsewhere.
  8. */
  9. #pragma once
  10. #include <stdint.h>
  11. #include <stdio.h>
  12. #ifdef __cplusplus
  13. extern "C" {
  14. #endif
  15. int64_t esp_timer_get_time(void);
  16. #ifdef __cplusplus
  17. }
  18. #endif