Download TSync - PCIe Factory Driver Guide, Rev G.
Transcript
TSync-PCIe Factory Driver Guide
Spectracom Corporation
} TSYNC_SerialNoObj;
/*==========================================================================
TSYNC METER HANDLE OBJECT
==========================================================================*/
typedef struct
{
TSYNC_METER_HANDLE hnd;
} TSYNC_MeterHandle;
/*==========================================================================
TSYNC METER WIN SIZE OBJECT
==========================================================================*/
typedef struct
{
TSYNC_METER_HANDLE hnd;
unsigned int
size;
} TSYNC_MeterWinSizeObj;
/*==========================================================================
TSYNC METER DATA OBJECT
==========================================================================*/
typedef struct
{
TSYNC_METER_HANDLE hnd;
XS_STATE state; // Meter state
unsigned int size; // Window size
unsigned int elapsed; // Elapsed duration through the
// window
int frAccum; // Accumulated frequency error of
// current window
int frPrev; // Total frequency error of
// previous window
int phStart; // Starting phase error of current
// window
int phAccum; // Accumulated phase error of
// current window
int phPrev; // Total phase error of previous
// window
} TSYNC_MeterDataObj;
/*==========================================================================
TSYNC METER COMMAND OBJECT
==========================================================================*/
typedef struct
{
TSYNC_METER_HANDLE hnd;
XS_CMD
command;
} TSYNC_MeterCommandObj;
/*==========================================================================
TSYNC SUPERVISOR REFERENCE OBJECT
==========================================================================*/
typedef struct
{
char time[5];
char pps[5];
} TSYNC_ReferenceObj;
4-22
Synchronizable Timecode Generator Supplemental Information