⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 zl5011xptx.h

📁 Zalink50114----TDMoIP芯片驱动源码
💻 H
字号:
/*******************************************************************************
*
*  File name:              zl5011xPtx.h
*
*  Version:                10
*
*  Author:                 MRC
*
*  Date created:           16/04/2002
*
*  Copyright 2002, 2003, 2004, 2005, Zarlink Semiconductor Limited.
*  All rights reserved.
*
*  Module Description:
*
*  This is the header file for the PTX block. It contains the function prototypes
*  and any definitions.
*
*  Revision History:
*
*  Rev:  Date:       Author:  Comments:
*  1     16/04/2002  MRC      Creation
*  2     16/04/2002  MRC      Changed Authur to Author in the header
*  3     22/04/2002  MRC      Added function to enable header insertion
*  4     24/04/2002  MRC      the number of context headers and the size of
*                             headers are now parameters to configure.
*  5     29/04/2002  MRC      Changes following code review.
*  6     07/05/2002  MRC      Changed enum to use uppercase
*                             P(acketTxHeaderModeE).
*  7     07/05/2002  MRC      Changed enum to use uppercase
*  8     19/05/2002  MRC      Updated following block change
*  9     31/10/2002  MRC      Added variants + minor fixes
*  10    04/05/2005  APL      Added zl5011xPtxEnableSrcMacOverwrite
*
*******************************************************************************/

#ifndef _ZL5011X_PTX_H
#define _ZL5011X_PTX_H

#ifdef __cplusplus
extern "C" {
#endif

/*****************   INCLUDE FILES   ******************************************/

/*****************   # DEFINES   **********************************************/

/*****************   DATA TYPES   *********************************************/

/*****************   DATA STRUCTURES   ****************************************/

/*****************   EXPORTED GLOBAL VARIABLE DECLARATIONS   ******************/

/*****************   EXTERNAL FUNCTION DECLARATIONS   *************************/

zlStatusE zl5011xPtxInit(zl5011xParamsS *zl5011xParams);
zlStatusE zl5011xPtxConfigure(zl5011xParamsS *zl5011xParams);

zlStatusE zl5011xPtxEnableHeaderInsertion(zl5011xParamsS *zl5011xParams,
      Uint32T tableEntry, zl5011xBooleanE enable);
zlStatusE zl5011xPtxEnableSrcMacOverwrite(zl5011xParamsS *zl5011xParams,
      Uint32T tableEntry, zl5011xBooleanE enable);

zlStatusE zl5011xPtxGetTableAddress(zl5011xParamsS *zl5011xParams,
      Uint32T entry, Uint32T *address);
zlStatusE zl5011xPtxGetHeaderAddress(zl5011xParamsS *zl5011xParams,
      Uint32T context, Uint32T *address);

zlStatusE zl5011xPtxSetHeader(zl5011xParamsS *zl5011xParams,
      Uint32T context, zl5011xPacketTxLowHeaderS *header);

#ifdef __cplusplus
}
#endif

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -