Critical Link MityCam SoC Firmware  1.0
Critical Link MityCam SoC Firmware
CCDspMsgHeader.h
Go to the documentation of this file.
1 
20 #ifndef CCDSPMSGHEADER_H
21 #define CCDSPMSGHEADER_H
22 
23 #ifndef MITYDSP
24 #pragma pack(push,1)
25 #endif
26 #define APP_SYNC 0xFA50
27 
44 #define CURRENT_IDD_REV 0x03
45 typedef struct
46 {
47  unsigned int mnSync : 16;
48  unsigned int mnLength : 16;
49  unsigned int mnSeqNo : 8;
50  unsigned int mnChecksum : 24;
51  unsigned int mnIddRev : 8;
52  unsigned int mnMsgId : 24;
54 #ifndef MITYDSP
55 #pragma pack(pop)
56 #endif
57 
58 #endif
tsMsgHeader::mnLength
unsigned int mnLength
length of payload (bytes)
Definition: CCDspMsgHeader.h:48
tsMsgHeader::mnSync
unsigned int mnSync
psuedo-unique bit pattern
Definition: CCDspMsgHeader.h:47
tsMsgHeader::mnChecksum
unsigned int mnChecksum
bytewise summation of payload data
Definition: CCDspMsgHeader.h:50
tsMsgHeader::mnIddRev
unsigned int mnIddRev
revision info
Definition: CCDspMsgHeader.h:51
tsMsgHeader::mnMsgId
unsigned int mnMsgId
message ID
Definition: CCDspMsgHeader.h:52
tsMsgHeader::mnSeqNo
unsigned int mnSeqNo
incremented by 1 each message sent
Definition: CCDspMsgHeader.h:49
tsMsgHeader
Definition: CCDspMsgHeader.h:45