?? gtsio.h
字號(hào):
/***************************************************************************
*
* $RCSfile: gtSio.h $
*
* Copyright 2001 by Dy 4 Systems, Inc. All Rights Reserved.
*
* $Revision: 1.5 $
*
* $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/gtSio.h $
*
* RCS Project Name:
*
* CSC:
*
* Target:
*
* Description:
*
* Usage:
*
* $Log: gtSio.h $
* Revision 1.5 2004/06/10 21:13:32Z dsessler
* Added C++ support.
* Revision 1.4 2002/03/27 20:01:51 dsessler
*
****************************************************************************/
#ifndef __INCgtSioh
#define __INCgtSioh
#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 mode; /* current mode (interrupt or poll) */
int baud; /* baud rate */
int options; /* stop bits, etc */
int portId; /* 0 or 1 */
/*
* These items are used for dynamically routing
* input data to other processors.
*/
int lastRxChar; /* prev Rx character */
int (*setRoute)(); /* set SIO routing callback */
void (*rxRoute)(); /* input routing function */
int route; /* attached processor */
STATUS (*savePutRcvChar)();
void *savePutRcvArg;
} GT_PORT;
/* definitions */
/* function prototypes */
#if defined(__STDC__)
extern void gtSioDevInit(GT_PORT *pDusart);
extern void gtSioIntRcv(GT_PORT *pChan);
extern void gtSioIntTx(GT_PORT *pChan);
#else /* __STDC__ */
extern void gtSioDevInit();
extern void gtSioIntRcv();
extern void gtSioIntTx();
#endif /* __STDC__ */
#ifdef __cplusplus
}
#endif
#endif /* __INCgtSioh */
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -