GLAST/LAT > DAQ and FSW > FSW > Index by Name within Package
ResRitSnsrSel - Telemetry Bitfield
|
"Selected RSVR and RIT sensors" (APP/LHK) View Options: (help) Definition:
Description: Layout: (hide detail; help)
ResRitSnsrSel (bf) | SensorHpNum resHpNum (0-3) | SensorType resType (4-7) | SensorHpNum ritHpNum (8-11) | SensorType ritType (12-15)
typedef struct _LHK_ResRitSnsrSel_Bfl {
#if ENDIANNESS_IS_BIG
/* Specifies connected HP number for sensor */
unsigned short resHpNum:4;
/* Specifies Sensor Type */
unsigned short resType:4;
/* Specifies connected HP number for sensor */
unsigned short ritHpNum:4;
/* Specifies Sensor Type */
unsigned short ritType:4;
#elif ENDIANNESS_IS_LITTLE
/* Specifies Sensor Type */
unsigned short ritType:4;
/* Specifies connected HP number for sensor */
unsigned short ritHpNum:4;
/* Specifies Sensor Type */
unsigned short resType:4;
/* Specifies connected HP number for sensor */
unsigned short resHpNum:4;
#else
#error _FILE_ ENDIANNESS NOT DEFINED
#endif
} __attribute__((packed)) LHK_ResRitSnsrSel_Bfl;
typedef union _LHK_ResRitSnsrSel {
/* underlying unsigned short */
unsigned short us;
/* struct mapped bitfield */
struct _LHK_ResRitSnsrSel_Bfl bf;
} LHK_ResRitSnsrSel;
Fields:
0-DSHP, 1-DSHP Redundant, 2-XLHP, 3-XLHP Redundant, 4-RES, 5-RES Redundant Used by:
|