hpcserial.h
来自「vxworks的BSP开发配置文件」· C头文件 代码 · 共 53 行
H
53 行
/* 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 + =
减小字号Ctrl + -
显示快捷键?