Function caerSpecialEventPacketAllocate
Defined in File special.h
Function Documentation
-
static inline caerSpecialEventPacket caerSpecialEventPacketAllocate(int32_t eventCapacity, int16_t eventSource, int32_t tsOverflow)
Allocate a new special events packet. Use free() to reclaim this memory.
- Parameters:
eventCapacity – the maximum number of events this packet will hold.
eventSource – the unique ID representing the source/generator of this packet.
tsOverflow – the current timestamp overflow counter value for this packet.
- Returns:
a valid SpecialEventPacket handle or NULL on error.