SciSDK Library
SDK for SciCompiler projects
SCISDK_DIGITIZER_DECODED_BUFFER Struct Reference

Digitizer decoded data type. More...

#include <scisdk_defines.h>

Public Attributes

uint32_t magic
 
int32_t * analog
 
uint64_t hits
 
uint64_t timecode
 
uint32_t counter
 
uint32_t user
 
struct {
   uint32_t   samples
 
   uint32_t   valid_samples
 
   uint32_t   channels
 
   uint32_t   enabled_channels
 
info
 

Detailed Description

Digitizer decoded data type.

This type is used to store decoded waveform from the digitizer component. The reference document for the raw data format is the Digitizer driver

Member Data Documentation

◆ analog

int32_t* SCISDK_DIGITIZER_DECODED_BUFFER::analog

Pointer to analog data allocated by the AllocateBuffer function

◆ channels

uint32_t SCISDK_DIGITIZER_DECODED_BUFFER::channels

Number of channels of the digitizer

◆ counter

uint32_t SCISDK_DIGITIZER_DECODED_BUFFER::counter

Counter progressive value

◆ enabled_channels

uint32_t SCISDK_DIGITIZER_DECODED_BUFFER::enabled_channels

Number of enabled channels

◆ hits

uint64_t SCISDK_DIGITIZER_DECODED_BUFFER::hits

Channel that generate a trigger (hits)

◆ 

struct { ... } SCISDK_DIGITIZER_DECODED_BUFFER::info

◆ magic

uint32_t SCISDK_DIGITIZER_DECODED_BUFFER::magic

Magic number to identify the data type

◆ samples

uint32_t SCISDK_DIGITIZER_DECODED_BUFFER::samples

Number of samples allocated in analog buffer

◆ timecode

uint64_t SCISDK_DIGITIZER_DECODED_BUFFER::timecode

Timecode of the first sample. Taken by timecome input in SciCompiler firmware

◆ user

uint32_t SCISDK_DIGITIZER_DECODED_BUFFER::user

User value field from SciCompiler IP block

◆ valid_samples

uint32_t SCISDK_DIGITIZER_DECODED_BUFFER::valid_samples

Number of valid samples in analog buffer


The documentation for this struct was generated from the following file: