External Code Interface (ECI)
 All Data Structures Files Functions Variables Typedefs Groups Pages
eci_app.h
Go to the documentation of this file.
1 
6 #ifndef ECI_APP_H
7 #define ECI_APP_H
8 
9 #ifdef __cplusplus
10 extern "C"
11 {
12 #endif /* __cplusplus */
13 
14 
15 #include "cfe.h"
16 #include "eci_app_cfg.h" /* Needed for queue length macros used by eci_interface.h */
17 
29 #define ECI_EVENT_0_DATA 0
30 
31 #define ECI_EVENT_1_DATA 1
32 
33 #define ECI_EVENT_2_DATA 2
34 
35 #define ECI_EVENT_3_DATA 3
36 
37 #define ECI_EVENT_4_DATA 4
38 
39 #define ECI_EVENT_5_DATA 5
40 
51 typedef struct {
53  CFE_SB_MsgId_t mid;
55  void *mptr;
57  size_t siz;
59  void *qptr;
61  boolean* sendMsg;
62 } ECI_Msg_t;
66 typedef struct {
68  uint8* FlagID;
70  boolean* StatusFlag;
71 } ECI_Flag_t;
72 
76 typedef struct {
78  uint8 eventBlock;
80  uint8* eventID;
82  uint8* eventType;
84  uint32* eventMask;
86  boolean* eventFlag;
88  uint8* eventMsg;
90  char* loc;
92  double* data_1;
94  double* data_2;
96  double* data_3;
98  double* data_4;
100  double* data_5;
101 } ECI_Evs_t;
102 
109 typedef struct {
111  void** tblptr;
113  char* tblname;
115  char* tbldesc;
117  char* tblfilename;
119  uint32 tblsize;
121  void* tblvalfunc;
122 } ECI_Tbl_t;
126 typedef struct {
128  char* cdsname;
130  size_t cdssiz;
132  void* cdsptr;
133 } ECI_Cds_t;
134 
136 typedef CFE_TIME_SysTime_t ECI_TimeStamp_t;
137 
138 #ifdef __cplusplus
139 }
140 #endif /* __cplusplus */
141 
142 #endif /* ECI_APP_H */
size_t cdssiz
Definition: eci_app.h:130
double * data_5
Definition: eci_app.h:100
uint8 * FlagID
Definition: eci_app.h:68
void * qptr
Definition: eci_app.h:59
double * data_1
Definition: eci_app.h:92
uint8 * eventMsg
Definition: eci_app.h:88
boolean * eventFlag
Definition: eci_app.h:86
void * cdsptr
Definition: eci_app.h:132
size_t siz
Definition: eci_app.h:57
char * cdsname
Definition: eci_app.h:128
char * tblname
Definition: eci_app.h:113
CFE_TIME_SysTime_t ECI_TimeStamp_t
Definition: eci_app.h:136
Definition: eci_app.h:51
Definition: eci_app.h:126
uint32 * eventMask
Definition: eci_app.h:84
char * tbldesc
Definition: eci_app.h:115
void * mptr
Definition: eci_app.h:55
double * data_4
Definition: eci_app.h:98
boolean * sendMsg
Definition: eci_app.h:61
char * tblfilename
Definition: eci_app.h:117
uint8 * eventID
Definition: eci_app.h:80
void ** tblptr
Definition: eci_app.h:111
double * data_3
Definition: eci_app.h:96
CFE_SB_MsgId_t mid
Definition: eci_app.h:53
Contains all of the configurable options (defined as macros) which change how the ECI interacts with ...
void * tblvalfunc
Definition: eci_app.h:121
boolean * StatusFlag
Definition: eci_app.h:70
double * data_2
Definition: eci_app.h:94
char * loc
Definition: eci_app.h:90
Definition: eci_app.h:66
uint8 * eventType
Definition: eci_app.h:82
Definition: eci_app.h:76
uint8 eventBlock
Definition: eci_app.h:78
Definition: eci_app.h:109
uint32 tblsize
Definition: eci_app.h:119