zl5011xcetdifftransfer.h

来自「Zalink50114----TDMoIP芯片驱动源码」· C头文件 代码 · 共 62 行

H
62
字号
/******************************************************************************
*
*  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 + =
减小字号Ctrl + -
显示快捷键?