Function caerGenericEventGetTimestamp
Defined in File common.h
Function Documentation
-
static inline int32_t caerGenericEventGetTimestamp(const void *eventPtr, caerEventPacketHeaderConst headerPtr)
Get the main 32 bit timestamp for a generic event, without having to know what event type the packet is containing.
- Parameters:
eventPtr – a generic pointer to an event. Cannot be NULL.
headerPtr – a valid EventPacket header pointer. Cannot be NULL.
- Returns:
the main 32 bit timestamp of this event.