📄 zl5011xcetdifftransfer.h
字号:
/******************************************************************************
*
* File name: zl5011xCetDiffTransfer.h
*
* Version: 1
*
* Author: MRC
*
* Date created: 01/09/2004
*
* Copyright 2002, 2003, 2004, 2005, Zarlink Semiconductor Limited.
* All rights reserved.
* The timing algorithms implemented in the software code are Patent Pending.
*
* Module Description:
*
* This module contains functions to open, close, send and receive data over
* UDP sockets. These functions are used by the CET differential clock recovery
* algorithm in order to transfer timing information from the Master to Slave
* devices.
*
* Revision History:
*
* Rev: Date: Author: Comments:
* 1 01/09/2004 MRC Creation
*
******************************************************************************/
#ifndef _ZL5011X_CET_DIFF_TRANSFER_H
#define _ZL5011X_CET_DIFF_TRANSFER_H
#ifdef __cplusplus
extern "C" {
#endif
/***************** DATA STRUCTURES and FUNCTION DECLARATIONS **************/
typedef struct
{
zl5011xParamsS *zl5011xParams;
Uint32T prsValue;
Uint16T seqNum;
Uint8T stream;
} zl5011xCetDiffPktTransferS;
zlStatusE zl5011xCetDiffTransferRxInit(Uint16T rxPortNum);
zlStatusE zl5011xCetDiffTransferTxInit(void);
zlStatusE zl5011xCetDiffTransferRxDelete(void);
zlStatusE zl5011xCetDiffTransferTxDelete(void);
zlStatusE zl5011xCetDiffTransferTxDetails(Uint32T *sin_addr, Uint16T *sin_port,
Uint8T *diffTxIpDest, Uint16T diffTxPortNum);
zlStatusE zl5011xCetDiffTransferTxSend(Uint32T sin_addr, Uint16T sin_port,
zl5011xParamsS *zl5011xParams, Uint8T stream, Uint16T seq, Uint32T value);
zlStatusE zl5011xCetDiffTransferRxReceive(zl5011xParamsS **zl5011xParams, Uint8T *stream, Uint16T *seq, Uint32T *value);
#ifdef __cplusplus
}
#endif
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -