GLAST/LAT > DAQ and FSW > FSW > Index by Name within Package
Hdr1 - Telemetry Bitfield
|
"CCSDS telecommand header (bytes 2-3)" (SVC/ITC) View Options: (help) Definition:
Description:
Layout: (hide detail; help) Hdr1 (bf) | Seq_flg seq_flg (0-1) | Seq_cnt seq_cnt (2-15)
typedef struct _ITC_Hdr1_Bfl {
#if ENDIANNESS_IS_BIG
/* CCSDS sequencing bits */
unsigned short seq_flg:2;
/* CCSDS sequencing count */
unsigned short seq_cnt:14;
#elif ENDIANNESS_IS_LITTLE
/* CCSDS sequencing count */
unsigned short seq_cnt:14;
/* CCSDS sequencing bits */
unsigned short seq_flg:2;
#else
#error _FILE_ ENDIANNESS NOT DEFINED
#endif
} __attribute__((packed)) ITC_Hdr1_Bfl;
typedef union _ITC_Hdr1 {
/* underlying unsigned short */
unsigned short us;
/* struct mapped bitfield */
struct _ITC_Hdr1_Bfl bf;
} ITC_Hdr1;
Fields:
Standard CCSDS sequencing count (incrementing per APID).
Standard CCSDS sequencing bits. Used by:
|