versadac  1
versadac - Scalable Recorder Firmware
eio_syst.h
1 /*******************************************************************************
2 FILE : eio_syst.h
3 VERSION : $Id: eio_syst.h 5305 2006-10-27 12:09:59Z martinto $
4 AUTHOR : David Cozens
5 SYSTEM : Diab C for PowerPC under vxWorks
6 DESCRIPTION : EIO system types.
7 *******************************************************************************/
8 #ifndef __EIO_SYST_H
9 #define __EIO_SYST_H
10 
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14 typedef enum
15 {
16  EIO_AI_POINT_TYPE,
17  EIO_AO_POINT_TYPE,
18  EIO_DI_POINT_TYPE,
19  EIO_DO_POINT_TYPE,
20  EIO_FI_POINT_TYPE,
21  EIO_NUMBER_OF_POINT_TYPES
22 }EioPointType;
23 
24 typedef enum
25 {
26  EIO_OPERATING_MODE_UNRESOLVED,
27  EIO_OPERATING_MODE_SIMPLEX,
28  EIO_OPERATING_MODE_DUPLEX_PRIMARY,
29  EIO_OPERATING_MODE_DUPLEX_SECONDARY,
30  EIO_OPERATING_MODE_BECOMING_SIMPLEX,
31  EIO_OPERATING_MODE_BECOMING_PRIMARY,
32  EIO_OPERATING_MODE_BECOMING_SECONDARY
33 }EioOperatingMode;
34 
35 typedef enum
36 {
37  EIO_FALSE,
38  EIO_TRUE
39 }EioBoolean;
40 
41 typedef unsigned char EioUint8;
42 typedef unsigned short EioUint16;
43 typedef unsigned int EioUint32;
44 
45 typedef signed char EioSint8;
46 typedef signed short EioSint16;
47 
48 typedef int EioSint32;
49 
51 
52 typedef struct
53 {
54  struct EioSystemFunctionsStruct * functions;
55  EioUint8 ioVersion;
56  EioUint8 variant;
57 }EioSystem;
58 
59 #ifdef __cplusplus
60 } /* extern "C" */
61 #endif
62 #endif /* __EIO_SYST_H */
Definition: eio_syst.h:52
Definition: eio_sysf.h:14