Data Fields
sc_pipe_tdc_histo_params_t Struct Reference

Parameters for TDC_HISTO pipe type. More...

Data Fields

enum bitsize_t depth
unsigned int channel
unsigned long long modulo
unsigned int binning
unsigned long long offset
unsigned int size
unsigned int accumulation_ms
void * allocator_owner
int(* allocator_cb )(void *, void **)

Detailed Description

Parameters for TDC_HISTO pipe type.

The size of the data unit is size * depth bytes.

Field Documentation

enum bitsize_t sc_pipe_tdc_histo_params_t::depth

Bits per histogram element in memory.

unsigned int sc_pipe_tdc_histo_params_t::channel

Channel is used to build histogram.

unsigned long long sc_pipe_tdc_histo_params_t::modulo

Histogram modulo.

unsigned int sc_pipe_tdc_histo_params_t::binning

Histogram time binning.

unsigned long long sc_pipe_tdc_histo_params_t::offset

Histogram start offset in time bins (see sc_tdc_get_binsize2()).

unsigned int sc_pipe_tdc_histo_params_t::size

Histogram size in time bins (see above).

unsigned int sc_pipe_tdc_histo_params_t::accumulation_ms

Accumulation time.

int(* sc_pipe_tdc_histo_params_t::allocator_cb)(void *, void **)

Parameter for the allocator_cb function. Used to allocate memory for data. If NULL - direct memory allocation. allocator_owner field will used as first argument during the call.