External Code Interface (ECI)
 All Data Structures Files Functions Variables Typedefs Groups Pages
eci_app_hk.h
Go to the documentation of this file.
1 
6 #ifndef ECI_APP_HK_H
7 #define ECI_APP_HK_H
8 
9 #ifdef __cplusplus
10 extern "C"
11 {
12 #endif /* __cplusplus */
13 
14 #include "cfe.h"
15 #include "eci_util_macro.h"
16 #include "eci_interface.h"
17 
18 #ifdef ECI_FLAG_TABLE_DEFINED
19 #include "app_faultrep.h"
20 #endif /* ECI_FLAG_TABLE_DEFINED */
21 
25 typedef struct ECI_HkPacket_t {
27  uint8 TlmHeader[CFE_SB_TLM_HDR_SIZE];
32 #ifdef ECI_FLAG_TABLE_DEFINED
33 
34  uint16 Enabled[APP_FAULTREP_BITFIELD_WORDS];
36  uint16 Latched[APP_FAULTREP_BITFIELD_WORDS];
37 #endif
38 
39  uint16 MsgRcvCnt[SIZEOF_ARRAY(ECI_MsgRcv)-1];
41 
42 #ifdef __cplusplus
43 }
44 #endif /* __cplusplus */
45 
46 #endif /* ECI_APP_HK_H */
uint8 CmdErrorCounter
Definition: eci_app_hk.h:31
Definition: eci_app_hk.h:25
uint8 CmdAcceptCounter
Definition: eci_app_hk.h:29
struct ECI_HkPacket_t ECI_HkPacket_t
uint16 MsgRcvCnt[SIZEOF_ARRAY(ECI_MsgRcv)-1]
Definition: eci_app_hk.h:39
uint8 TlmHeader[CFE_SB_TLM_HDR_SIZE]
Definition: eci_app_hk.h:27
#define SIZEOF_ARRAY(ar)
Definition: eci_util_macro.h:31
Defines utility macros which are used throughout the code.