2015-11-19 23:24:56 -04:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#include <AP_Common/AP_Common.h>
|
|
|
|
|
|
|
|
#include "AP_HAL_Macros.h"
|
|
|
|
|
|
|
|
namespace AP_HAL {
|
|
|
|
|
|
|
|
void init();
|
|
|
|
|
2015-11-10 13:05:19 -04:00
|
|
|
void panic(const char *errormsg, ...) FMT_PRINTF(1, 2) NORETURN;
|
2015-11-19 23:24:56 -04:00
|
|
|
|
2021-10-02 02:39:08 -03:00
|
|
|
uint16_t micros16();
|
2015-11-19 23:24:56 -04:00
|
|
|
uint32_t micros();
|
|
|
|
uint32_t millis();
|
2018-08-08 01:55:14 -03:00
|
|
|
uint16_t millis16();
|
2015-11-19 23:24:56 -04:00
|
|
|
uint64_t micros64();
|
|
|
|
uint64_t millis64();
|
|
|
|
|
2019-06-10 23:14:01 -03:00
|
|
|
void dump_stack_trace();
|
2021-07-06 02:32:24 -03:00
|
|
|
void dump_core_file();
|
2019-06-10 23:14:01 -03:00
|
|
|
|
2015-11-19 23:24:56 -04:00
|
|
|
} // namespace AP_HAL
|