GLAST/LAT > DAQ and FSW > FSW > Index by Name within Package
CSELOTHERBF - Telecommand Bitfield
|
"EPU, PDU, EBM, and GEM Selection Bitfield" (APP/LIM) View Options: (help) Definition:
Description:
Layout: (hide detail; help)
CSELOTHERBF (bf) | CITEMSEL epu_sel_2 (0) ... epu_pdu_0 (5) | CPAD10 pad (6-15)
typedef struct _LIM_CSELOTHERBF_Bfl {
#if ENDIANNESS_IS_BIG
/* Item Selection */
unsigned short epu_sel_2:1;
/* Item Selection */
unsigned short epu_sel_1:1;
/* Item Selection */
unsigned short epu_sel_0:1;
/* Item Selection */
unsigned short epu_pdu_2:1;
/* Item Selection */
unsigned short epu_pdu_1:1;
/* Item Selection */
unsigned short epu_pdu_0:1;
/* 10-Bit Padding */
unsigned short pad:10;
#elif ENDIANNESS_IS_LITTLE
/* 10-Bit Padding */
unsigned short pad:10;
/* Item Selection */
unsigned short epu_pdu_0:1;
/* Item Selection */
unsigned short epu_pdu_1:1;
/* Item Selection */
unsigned short epu_pdu_2:1;
/* Item Selection */
unsigned short epu_sel_0:1;
/* Item Selection */
unsigned short epu_sel_1:1;
/* Item Selection */
unsigned short epu_sel_2:1;
#else
#error _FILE_ ENDIANNESS NOT DEFINED
#endif
} __attribute__((packed)) LIM_CSELOTHERBF_Bfl;
typedef union _LIM_CSELOTHERBF {
/* underlying unsigned short */
unsigned short us;
/* struct mapped bitfield */
struct _LIM_CSELOTHERBF_Bfl bf;
} LIM_CSELOTHERBF;
Used by:
|