mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2025-12-30 22:20:50 +00:00
31 lines
417 B
C
31 lines
417 B
C
/*!
|
|
* @file Mw/Abstract/Time.h
|
|
* @brief Time
|
|
*/
|
|
#ifndef __MW_ABSTRACT_TIME_H__
|
|
#define __MW_ABSTRACT_TIME_H__
|
|
|
|
#include <Mw/MachDep.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/*!
|
|
* @brief Sleeps for milliseconds
|
|
* @param ms Milliseconds
|
|
*/
|
|
MWDECL void MwTimeSleep(int ms);
|
|
|
|
/*!
|
|
* @brief Gets a monotonic time
|
|
* @return Monotonic time
|
|
*/
|
|
MWDECL long MwTimeGetTick(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|