GLAST/LAT > DAQ and FSW > FSW > Index by Name within Package
VCHPDSHPTEMP - Telemetry Bitfield
|
"VCHP-DSHP Interface Temperature" (APP/LHK) View Options: (help) Definition:
Description: Layout: (hide detail; help) VCHPDSHPTEMP (bf) | ADCS stat (0-3) | ADCV val (4-15)
typedef struct _LHK_VCHPDSHPTEMP_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_VCHPDSHPTEMP_Bfl;
typedef union _LHK_VCHPDSHPTEMP {
/* underlying unsigned short */
unsigned short us;
/* struct mapped bitfield */
struct _LHK_VCHPDSHPTEMP_Bfl bf;
} LHK_VCHPDSHPTEMP;
Fields:
A 4 bit value representing an ADC read/evaluation status.
A 12 bit raw ADC value. Same as:
Used by:
|