2017-12-21 21:14:19 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2017 Oticon A/S
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _NATIVE_POSIX_HW_MODELS_H
|
|
|
|
#define _NATIVE_POSIX_HW_MODELS_H
|
|
|
|
|
|
|
|
#include "zephyr/types.h"
|
|
|
|
#include <inttypes.h>
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define NEVER UINT64_MAX
|
|
|
|
|
|
|
|
void hwm_main_loop(void);
|
|
|
|
void hwm_init(void);
|
|
|
|
void hwm_cleanup(void);
|
2020-05-28 00:26:57 +08:00
|
|
|
void hwm_set_end_of_time(uint64_t new_end_of_time);
|
|
|
|
uint64_t hwm_get_time(void);
|
2017-12-21 21:14:19 +08:00
|
|
|
void hwm_find_next_timer(void);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* _NATIVE_POSIX_HW_MODELS_H */
|