#include <time.h>
#include "pstdint.h"
Go to the source code of this file.
|
| | xsens |
| | The namespace of all Xsens software since 2006.
|
| |
|
| uint32_t | xsens::getTimeOfDay (tm *date_, time_t *secs_) |
| | A platform-independent clock. More...
|
| |
| int64_t | xsens::getDateTime (tm *date=0) |
| | Retrieves the date and time (platform-independent) More...
|
| |
| void | xsens::getDateAsString (uint8_t *dest, tm const *date=0) |
| | Retrieves the date as string representation The format is YYYYMMDD so 25 dec 2010 is stored as an array dest[8] = {'2', '0', '1', '0', '1', '2', '2', '5' }. More...
|
| |
| void | xsens::getTimeAsString (uint8_t *dest, tm const *date=0) |
| | Retrieves the time as binary The format is HHMMSShh (where H is hour and 'h' is hundredths) so 14:25:01.23 is stored as an array dest[8] = { '1', '4', '2', '5', '0', '1', '2', '3'}. More...
|
| |
| void | xsens::msleep (uint32_t ms) |
| | Sleep for ms milliseconds. More...
|
| |
| TimeStamp | xsens::timeStampNow () |
| |
| void | xsens::initializeTime () |
| | Stabilize the clock. More...
|
| |
◆ XSENS_MS_PER_DAY
The number of milliseconds in a normal day.
◆ XSENS_SEC_PER_DAY
| #define XSENS_SEC_PER_DAY (60*60*24) |
The number of seconds in a normal day.
◆ XSENS_TIMESTAMP_MAX
| #define XSENS_TIMESTAMP_MAX (0x7FFFFFFFFFFFFFFFLL) |
The number of milliseconds in a normal day.