xtdc4 count devices
. This index selects one of them. Boards are enumerated depending on the
PCIe slot. The lower the bus number and the lower the slot number the lower the card index.
int
board id
the global index in all cronologic devices.
This 8 bit number is filled into each packet created by the board and is useful if data streams
of multiple boards will be merged. If only XTDC4 cards are used this number can be set to the
card index
. If boards of different types that use a compatible data format are used in a system
each board should get a unique id. Can be changed with
int xtdc4 set board id(xtdc4 device
*device, int board id)
.
int64
buffer size[8]
The minimum size of the DMA buffer.
If set to 0 the default size of 16 MByte is used. For the xTDC4 only the first entry is used.
int
buffer type
The type of buffer. Can be either allocated (only option currently) or physical.
#define
XTDC4 BUFFER ALLOCATE 0
#define
XTDC4 BUFFER USE PHYSICAL 1
int64
buffer address
The start address of the reserved memory.
The buffers will be allocated with the sizes given above. Make sure that the memory is large
enough.
int
variant
Set to 0. Can be used to activate future device variants such as different base frequencies.
int
device type
A constant for the different devices of cronologic
CRONO DEVICE *
.
Initialized by
xtdc4 get default init parameters()
. Must be left unchanged.
#define
CRONO DEVICE HPTDC 0
#define
CRONO DEVICE NDIGO5G 1
#define
CRONO DEVICE NDIGO250M 2
#define
CRONO DEVICE xTDC4 6
#define
CRONO DEVICE TIMETAGGER4 8
int
dma read delay
The update delay of the writing pointer after a packet has been send over PCIe. The base unit
is 16 to 32 ns. Should not be changed by the user.
int
use ext clock
If set to 1 use external 10 MHz reference. If set to 0 use internal reference.
cronologic GmbH & Co. KG
10
xTDC4 User Guide
Содержание xTDC4
Страница 2: ......
Страница 3: ......
Страница 7: ......
Страница 12: ...Figure 2 6 The xTDC4 Carry Chain TDC calibration tool cronologic GmbH Co KG 7 xTDC4 User Guide...
Страница 13: ...cronologic GmbH Co KG 8 xTDC4 User Guide...
Страница 25: ...cronologic GmbH Co KG 20 xTDC4 User Guide...