Function caerPolarityEventGetTimestamp

Function Documentation

static inline int32_t caerPolarityEventGetTimestamp(caerPolarityEventConst 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 PolarityEvent pointer. Cannot be NULL.

Returns:

this event’s 32bit microsecond timestamp.