82#ifndef ELOOM_INC_SERVICES_SYSTIMESTAMP_H_
83#define ELOOM_INC_SERVICES_SYSTIMESTAMP_H_
94#ifndef SYS_TS_CFG_ENABLE_SERVICE
95#define SYS_TS_CFG_ENABLE_SERVICE 0
98#define SYS_TS_USE_SW_TSDRIVER NULL
100#ifndef SYS_TS_CFG_TSDRIVER_PARAMS
101#define SYS_TS_CFG_TSDRIVER_PARAMS SYS_TS_USE_SW_TSDRIVER
104#if (SYS_TS_CFG_ENABLE_SERVICE == 1) && !defined(SYS_TS_CFG_TSDRIVER_FREQ_HZ)
105#error "Please define SYS_TS_CFG_TSDRIVER_FREQ equal to the hardware timer clock frequency in Hz"
Driver for the timestamp service that use an hardware timer.
Software driver for the timestamp service.
Virtual functions implemented by the driver.
SysTimestamp_t * SysGetTimestampSrv(void)
uint64_t SysTsGetTimestampN(SysTimestamp_t *_this)
sys_error_code_t SysTsStart(SysTimestamp_t *_this, bool bReset)
sys_error_code_t SysTsStop(SysTimestamp_t *_this)
double SysTsGetTimestampF(SysTimestamp_t *_this)
Definition ITSDriver_vtbl.h:55
Definition SysTimestamp.h:117
ITSDriver_t * m_pxDriver
Definition SysTimestamp.h:121
uint16_t sys_error_code_t
Definition syserror.h:41