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

📄 z85230rhdlc.h

📁 Curtiss-Wright Controls Embedded Computing公司的cw183板bsp源代码
💻 H
字号:
/* z85230RHDLC.h - header file for z85230RHDLC module *//* Copyright 1984-1994 Wind River Systems, Inc. *//*modification history--------------------*/#ifndef Z85230RHDLC_H#define Z85230RHDLC_H#ifdef __cplusplusextern "C" {#endif#include "boardName.h"struct _Z85230_CHAN;/* function declarations */int z85230RHDLCOpen( struct _Z85230_CHAN * channel );int z85230RHDLCClose( struct _Z85230_CHAN * channel );int z85230RHDLCRead( struct _Z85230_CHAN * channel, 		      unsigned char * buf, int size );  int z85230RHDLCWrite( struct _Z85230_CHAN * channel,		       unsigned char * buf, int size );  int z85230RHDLCIoctl( struct _Z85230_CHAN * channel,		       int command, int param );void z85230RHDLCRxInt( struct _Z85230_CHAN * channel,			unsigned char intStatus  );void z85230RHDLCExInt( struct _Z85230_CHAN * channel,			 unsigned char intStatus  );void z85230RHDLCTxInt( struct _Z85230_CHAN * channel,			unsigned char intStatus  );void z85230RHDLCRxDmaInt( struct _Z85230_CHAN * channel );void z85230RHDLCTxDmaInt( struct _Z85230_CHAN * channel );#define Z85230RHDLC_DEFAULT_BUFFERSIZE   (4096)#ifdef VME_181#define Z85230RHDLC_DEFAULT_RX_BUFFERFRAMES 8#define Z85230RHDLC_DEFAULT_TX_BUFFERFRAMES 8#else#define Z85230RHDLC_DEFAULT_RX_BUFFERFRAMES 32#define Z85230RHDLC_DEFAULT_TX_BUFFERFRAMES 4#endif#define Z85230RHDLC_DEFAULT_WORDSIZE     8#define Z85230RHDLC_DEFAULT_PARITY       Z85230_PARITY_NONE#define Z85230RHDLC_DEFAULT_BAUDRATE     9600#define Z85230RHDLC_DEFAULT_RXINT        Z85230_RXINT_ALL_OR_SPCL_OR_PARITY#define Z85230RHDLC_DEFAULT_TXINT        Z85230_TXINT_ENABLE#ifdef __cplusplus}#endif#endif /* Z85230PROTOCOLRHDLC_H */

⌨️ 快捷键说明

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