GLAST/LAT > DAQ and FSW > FSW > Index by Name within Package
CTOWERSELBF valid - Telecommand Bitfield
|
"Tower Selection Bitfield" (APP/LIM) View Options: (help) Ancestry:
Definition:
Description:
Layout: (hide detail; help)
CTOWERSELBF (bf) | CITEMSEL tower_15 (0) ... tower_0 (15)
typedef struct _LIM_CTOWERSELBF_Bfl {
#if ENDIANNESS_IS_BIG
/* Item Selection */
unsigned short tower_15:1;
/* Item Selection */
unsigned short tower_14:1;
/* Item Selection */
unsigned short tower_13:1;
/* Item Selection */
unsigned short tower_12:1;
/* Item Selection */
unsigned short tower_11:1;
/* Item Selection */
unsigned short tower_10:1;
/* Item Selection */
unsigned short tower_9:1;
/* Item Selection */
unsigned short tower_8:1;
/* Item Selection */
unsigned short tower_7:1;
/* Item Selection */
unsigned short tower_6:1;
/* Item Selection */
unsigned short tower_5:1;
/* Item Selection */
unsigned short tower_4:1;
/* Item Selection */
unsigned short tower_3:1;
/* Item Selection */
unsigned short tower_2:1;
/* Item Selection */
unsigned short tower_1:1;
/* Item Selection */
unsigned short tower_0:1;
#elif ENDIANNESS_IS_LITTLE
/* Item Selection */
unsigned short tower_0:1;
/* Item Selection */
unsigned short tower_1:1;
/* Item Selection */
unsigned short tower_2:1;
/* Item Selection */
unsigned short tower_3:1;
/* Item Selection */
unsigned short tower_4:1;
/* Item Selection */
unsigned short tower_5:1;
/* Item Selection */
unsigned short tower_6:1;
/* Item Selection */
unsigned short tower_7:1;
/* Item Selection */
unsigned short tower_8:1;
/* Item Selection */
unsigned short tower_9:1;
/* Item Selection */
unsigned short tower_10:1;
/* Item Selection */
unsigned short tower_11:1;
/* Item Selection */
unsigned short tower_12:1;
/* Item Selection */
unsigned short tower_13:1;
/* Item Selection */
unsigned short tower_14:1;
/* Item Selection */
unsigned short tower_15:1;
#else
#error _FILE_ ENDIANNESS NOT DEFINED
#endif
} __attribute__((packed)) LIM_CTOWERSELBF_Bfl;
typedef union _LIM_CTOWERSELBF {
/* underlying unsigned short */
unsigned short us;
/* struct mapped bitfield */
struct _LIM_CTOWERSELBF_Bfl bf;
} LIM_CTOWERSELBF;
|