GLAST/LAT > DAQ and FSW > FSW > Index by Name within Package
VCHPRSVRHTRTEMP vrh - Telemetry Bitfield
|
"VCHP Reservoir Heater Temperature" (APP/LHK) View Options: (help) Ancestry:
Definition:
Description: Layout: (hide detail; help) VCHPRSVRHTRTEMP (bf) | ADCS stat (0-3) | ADCV val (4-15)
typedef struct _LHK_VCHPRSVRHTRTEMP_Bfl {
#if ENDIANNESS_IS_BIG
/* ADC status bits */
unsigned short stat:4;
/* ADC raw value */
unsigned short val:12;
#elif ENDIANNESS_IS_LITTLE
/* ADC raw value */
unsigned short val:12;
/* ADC status bits */
unsigned short stat:4;
#else
#error _FILE_ ENDIANNESS NOT DEFINED
#endif
} __attribute__((packed)) LHK_VCHPRSVRHTRTEMP_Bfl;
typedef union _LHK_VCHPRSVRHTRTEMP {
/* underlying unsigned short */
unsigned short us;
/* struct mapped bitfield */
struct _LHK_VCHPRSVRHTRTEMP_Bfl bf;
} LHK_VCHPRSVRHTRTEMP;
Fields:
A 4 bit value representing an ADC read/evaluation status.
A 12 bit raw ADC value. |