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

📄 hpcserial.h

📁 vxworks的BSP开发配置文件
💻 H
字号:
/* hpcSerial.h - Intel IXM1200 HPC Serial Port header file *//* Copyright 2000 Intel Corp. *//*modification history--------------------01c,10jul02,scm  add C++ protection...01b,30aug01,scm  adjust to reflect ixm1200...01a,27Jun00,jdg  written from ixp1200Sio.h, version 01c*/#ifndef __INCHPCSerialh #define __INCHPCSerialh #ifdef __cplusplusextern "C" {#endif#define HPC_TX_BUFF_SIZE 128typedef struct HPC_SERIAL_CHAN    {    /* must be first */    SIO_CHAN	sio;		/* standard SIO_CHAN element */    /* callbacks */    STATUS	(*getTxChar) ();  /* installed Tx callback routine */    STATUS	(*putRcvChar) (); /* installed Rx callback routine */    void *	getTxArg;	      /* argument to Tx callback routine */    void *	putRcvArg;	      /* argument to Rx callback routine */    UINT32	channelMode;	  /* such as INT, POLL modes */    int     channelNum;       /* HPC channel number */    unsigned char txBuf[HPC_TX_BUFF_SIZE];                              /* Buffer used to coalesce Tx requests */    } HPC_SERIAL_CHAN;/* function declarations */IMPORT void hpcsDevInit (HPC_SERIAL_CHAN *pChan);IMPORT void hpcsDevInit2 (HPC_SERIAL_CHAN *pChan);#ifdef __cplusplus}#endif#endif /* __INCHPCSerialh */

⌨️ 快捷键说明

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