27 lines
467 B
C
27 lines
467 B
C
|
/*
|
||
|
* Copyright (c) 2017 Oticon A/S
|
||
|
*
|
||
|
* SPDX-License-Identifier: Apache-2.0
|
||
|
*/
|
||
|
|
||
|
#ifndef _NATIVE_POSIX_TIMER_MODEL_H
|
||
|
#define _NATIVE_POSIX_TIMER_MODEL_H
|
||
|
|
||
|
#include "hw_models_top.h"
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
void hwtimer_init(void);
|
||
|
void hwtimer_cleanup(void);
|
||
|
void hwtimer_timer_reached(void);
|
||
|
void hwtimer_wake_in_time(u64_t time);
|
||
|
void hwtimer_set_silent_ticks(int sys_ticks);
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#endif /* _NATIVE_POSIX_TIMER_MODEL_H */
|