11/08/2017 by Dynamic

The timestamps returned in for example the canRead() call are currently stored in 32 bits. This means that the resolution used for the timestamps decided how long it takes for the time stamp to wrap around.

The default millisecond resolution yields almost 50 days.
A microsecond resolution gives almost 72 hours.

The resolution is be set by using the canIoCtl() call with the canIOCTL_SET_TIMER_SCALE flag to set the desired time-stamp clock resolution in microseconds. The default value is 1000 microseconds, i.e. one millisecond.