XCore DevTick

Files CCore/inc/dev/DevTick.h CCore/src/DevTick.cpp

This part defines a constant -- the tick frequency. A timer implementation must ensure the tick processing on this frequency. It is recommended to have a high (but not too high) value of this frequency like 10'000 Hz.


/* DevTick.h */

#ifndef CCore_inc_dev_Tick_h
#define CCore_inc_dev_Tick_h

namespace CCore {

/* consts */

const unsigned TicksPerSec = 10'000 ;

} // namespace CCore

#endif


/* DevTick.cpp */

#include <CCore/inc/dev/DevTick.h>

namespace CCore {


} // namespace CCore