shmuartsio.h
来自「ge公司的dv4av4信号处理板的bsp源代码」· C头文件 代码 · 共 90 行
H
90 行
/***************************************************************************
*
* $RCSfile: shmuartSio.h $
*
* Copyright 2001 by Dy 4 Systems, Inc. All Rights Reserved.
*
* $Revision: 1.3 $
*
* $Name: AV4-ISP-R1.2-1 AV4-ISP-R1.2-0 HMTST2 HMTST1 DVT_AV4_4.101 AV4-VSP-R1.0-2 AV4-VSP-R1.0 CT-ISP-1.1 AV4 ISP 1.1 CT_R0.1_AV4/CAV4 champtools2.22 CAV4_CP1 CHAMPtools FW 3.0 champtools2.21_1215 champtools2.21 champ221_build1 champtools2.2 $ $State: Developmental $ $Locker: $
*
* $Source: L:/SWRND/champAV2/src/vx/h/drv/sio/rcs/shmuartSio.h $
*
* RCS Project Name:
*
* CSC:
*
* Target:
*
* Description:
*
* Usage:
*
* $Log: shmuartSio.h $
* Revision 1.3 2004/06/10 21:13:44Z dsessler
* Added C++ support.
* Revision 1.2 2002/03/27 20:01:56 dsessler
*
****************************************************************************/
#ifndef __INCshmuartSioh
#define __INCshmuartSioh
#include "sioLib.h"
#ifdef __cplusplus
extern "C" {
#endif
/* device and channel structures */
typedef struct
{
/* must be first */
SIO_DRV_FUNCS *pDrvFuncs; /* driver functions */
/* callbacks */
STATUS (*getTxChar) ();
STATUS (*putRcvChar) ();
void * getTxArg;
void * putRcvArg;
int portId; /* 0 or 1 */
int mode; /* mode (interrupt or polled) */
int txEnabled; /* transmitter is active */
void * txShmuart; /* address of transmit shmuart */
void * rcvShmuart; /* address of receive shmuart */
} SHMUART_PORT;
/* definitions */
/* function prototypes */
#if defined(__STDC__)
extern void shmuartSioDevInit (SHMUART_PORT *pPort);
extern void shmuartSioDevInit2 (SHMUART_PORT *pPort);
extern void shmuartSioIntRcv (SHMUART_PORT *pPort);
extern void shmuartSioIntTx (SHMUART_PORT *pPort);
#else /* __STDC__ */
extern void shmuartSioDevInit ();
extern void shmuartSioDevInit2 ();
extern void shmuartSioIntRcv ();
extern void shmuartSioIntTx ();
#endif /* __STDC__ */
#ifdef __cplusplus
}
#endif
#endif /* __INCshmuartSioh */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?