2018-01-05 02:19:51 -04:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2023-12-17 21:15:35 -04:00
|
|
|
|
2018-01-08 01:07:26 -04:00
|
|
|
void hrt_init(void);
|
2018-08-08 03:57:05 -03:00
|
|
|
uint64_t hrt_micros64(void);
|
2023-12-17 21:15:35 -04:00
|
|
|
uint64_t hrt_micros64_from_ISR(void); // from an ISR
|
2018-08-08 03:57:05 -03:00
|
|
|
uint32_t hrt_micros32(void);
|
|
|
|
uint32_t hrt_millis32(void);
|
2023-12-17 21:15:35 -04:00
|
|
|
uint32_t hrt_millis32I(void); // from locked context
|
|
|
|
uint32_t hrt_millis32_from_ISR(void); // from an ISR
|
2023-12-19 23:26:48 -04:00
|
|
|
uint64_t hrt_millis64(void);
|
2023-12-17 21:15:35 -04:00
|
|
|
|
2018-01-08 01:07:26 -04:00
|
|
|
#ifdef __cplusplus
|
2018-01-05 02:19:51 -04:00
|
|
|
}
|
|
|
|
#endif
|