Function caerIMU6EventGetTimestamp

Function Documentation

static inline int32_t caerIMU6EventGetTimestamp(caerIMU6EventConst event)

Get the 32bit event timestamp, in microseconds. Be aware that this wraps around! You can either ignore this fact, or handle the special ‘TIMESTAMP_WRAP’ event that is generated when this happens, or use the 64bit timestamp which never wraps around. See ‘caerEventPacketHeaderGetEventTSOverflow()’ documentation for more details on the 64bit timestamp.

Parameters:

event – a valid IMU6Event pointer. Cannot be NULL.

Returns:

this event’s 32bit microsecond timestamp.