Function caerEventPacketHeaderSetEventValid

Function Documentation

static inline void caerEventPacketHeaderSetEventValid(caerEventPacketHeader header, int32_t eventsValid)

Set the number of valid events in this packet, disregarding invalid ones (where the invalid mark is set).

Parameters:
  • header – a valid EventPacket header pointer. Cannot be NULL.

  • eventsValid – the number of valid events in this packet.