GLAST/LAT > DAQ and FSW > FSW > Index by Name within Package
CUNITBF - Telecommand Bitfield
|
View Options: (help) Definition:
Description:
Layout: (hide detail; help)
CUNITBF (bf) | CLATUNIT latUnit (0-3) | CPAD12 pad (4-15)
typedef struct _PBC_CUNITBF_Bfl {
#if ENDIANNESS_IS_BIG
/* Target LAT Unit */
unsigned short latUnit:4;
/* 12-bit padding */
unsigned short pad:12;
#elif ENDIANNESS_IS_LITTLE
/* 12-bit padding */
unsigned short pad:12;
/* Target LAT Unit */
unsigned short latUnit:4;
#else
#error _FILE_ ENDIANNESS NOT DEFINED
#endif
} __attribute__((packed)) PBC_CUNITBF_Bfl;
typedef union _PBC_CUNITBF {
/* underlying unsigned short */
unsigned short us;
/* struct mapped bitfield */
struct _PBC_CUNITBF_Bfl bf;
} PBC_CUNITBF;
Used by:
|