Function sc_tdc_get_format2

Function Documentation

int sc_tdc_get_format2(const int dev_desc, struct sc_tdc_format *format)

Get data format of the tdc events.

Call this function to get event format got from tdc pipe. See sc_tdc_pipe_open2() for details.

Hint: Prefer the USER_CALLBACKS pipe for development of new applications, which replaces usage of this function.

Parameters
  • dev_desc – Device descriptor.

  • format – Pointer on the structure where format should be placed.

Returns

int 0 or error code.