Main Page   Compound List   File List   Compound Members   File Members  

serapi_t.h

Go to the documentation of this file.
00001 
00023 
00024 #ifndef _SERAPI_T_H__
00025 #define _SERAPI_T_H__
00026 
00030 #define FOS_INT 0x14
00031 
00036 #define COM 1
00037 #define EXT 0
00038 
00046 #define TRANSMIT_XONXOFF 1
00047 #define RECEIVE_XONXOFF 8
00048 #define RTSCTS 2
00049 #define NO_FLOWCTRL 0
00050 
00054 #define TX_ENABLE_LOW 0
00055 #define TX_ENABLE_HIGH 1
00056 
00061 #ifndef __BYTE__
00062 #define __BYTE__
00063 typedef unsigned char byte;
00064 #endif
00065 
00070 #ifndef __cplusplus
00071 typedef unsigned int bool;
00072 #endif
00073 
00078 typedef struct statusStr {
00079     bool outBufferEmpty;
00080     bool outBufferNotFull;
00081     bool recOverrun;
00082     bool dataAvailable;
00083 } statusSTR;
00084 
00085 typedef statusSTR* statusPtr;
00086 
00090 #define NO_STATUS 255
00091 
00092 #endif /* _SERAPI_T_H__ */

Generated at Fri Oct 26 12:43:45 2001 for SerialAPI by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001