EnOcean Link  1.14.0.0
Middleware to Connect EnOcean easily to other Projects
eoTimer Class Reference

tickCount helper More...

#include <eoTimer.h>

Static Public Member Functions

static uint32_t GetTickCount ()
 
static void Sleep (uint32_t ms)
 

Detailed Description

tickCount helper

Member Function Documentation

◆ GetTickCount()

static uint32_t eoTimer::GetTickCount ( )
static

MS tick count

Returns
returns a ms tickCount, start time is hw dependent
Examples:
GatewayFiltered_example.cpp, genericProfile_examples.cpp, tutorial1.cpp, tutorial6.cpp, and WatcherMain.cpp.

◆ Sleep()

static void eoTimer::Sleep ( uint32_t  ms)
static

Sleep for a specified amount of milliseconds for the raspberryPI the nanosleep did not work in some distrubutions, for a workaround obsolute usleep is used, and sleep is done in 10ms blocks.

Returns
void