Field Name Length (bits) Bit Contents Description
Item Total Algn Off
dataTeEvHist 128 + 32*n 32 0 telemetry Packet Data Packet, Timed Exposure, Event Histogram Mode (Patch)
  header 6464 32 0 telemetry Header Telemetry Packet Header
    synch 3232 32 0 uint32 = 0x736f4166 This field delimits the start of a telemetry packet.
    telemetryLength 1010 1 32 uint10 = 4+n This field indicates the total number of 32-bit words in the telemetry packet
    formatTag 66 1 42 uint6 = 48 This field identifies the content of the telemetry packet [see enum TlmFormatTag]: TTAG_SCI_TE_DAT_EV_HIST
    sequenceNumber 1616 1 48 uint16 This field is the sequence number of the telemetry packet
  ccdId 44 1 64 uint4 Identify which CCD produced the data [see enum CcdId]
  fepId 33 1 68 uint3 Identify which FEP processed the data [see enum FepId]
  dataPacketNumber 2020 1 71 uint20 Data Packet Number within the current CCD exposure
  outputNodeId 22 1 91 uint2 Identify which CCD output node produced the histogram data
  startingBin 1616 1 93 uint16 Identify the first histogram bin contained in the packet
  binValues[pl-4] 3232*n 32 128 uint32 Low-order 26 bits contain the count of number of pixels at raw pulse height identified by bin #. The high-order 5 bits contain a Hamming error correction code for the word.

Definition of variables
n the dimension of the binValues array [pl-4]
pl the value of the telemetryLength field