system.h 347 B

1234567891011121314151617181920212223
  1. #pragma once
  2. #include <stdint.h>
  3. #include <AP_Common/AP_Common.h>
  4. #include "AP_HAL_Macros.h"
  5. namespace AP_HAL {
  6. void init();
  7. void panic(const char *errormsg, ...) FMT_PRINTF(1, 2) NORETURN;
  8. uint32_t micros();
  9. uint32_t millis();
  10. uint16_t millis16();
  11. uint64_t micros64();
  12. uint64_t millis64();
  13. void dump_stack_trace();
  14. } // namespace AP_HAL