GLAST/LAT > DAQ and FSW > FSW > Index by Name within Package
ACDPWRREG acdpwr - Telemetry Bitfield
|
"PDU ADC Power Management Register" (APP/LHK) View Options: (help) Ancestry:
Definition:
Description: Layout: (hide detail; help)
ACDPWRREG (bf) | TSP13 spare (0-12) | PDUACDCNVT cnvt (13) | PDUACDPWRSUP sup (14) | PDUACDPWRST acd (15)
typedef struct _LHK_ACDPWRREG_Bfl {
#if ENDIANNESS_IS_BIG
/* Spare 13 bit field */
unsigned short spare:13;
/* PDU ACD Power Converter Source */
unsigned short cnvt:1;
/* PDU ACD Power Supply Source */
unsigned short sup:1;
/* PDU ACD Power State */
unsigned short acd:1;
#elif ENDIANNESS_IS_LITTLE
/* PDU ACD Power State */
unsigned short acd:1;
/* PDU ACD Power Supply Source */
unsigned short sup:1;
/* PDU ACD Power Converter Source */
unsigned short cnvt:1;
/* Spare 13 bit field */
unsigned short spare:13;
#else
#error _FILE_ ENDIANNESS NOT DEFINED
#endif
} __attribute__((packed)) LHK_ACDPWRREG_Bfl;
typedef union _LHK_ACDPWRREG {
/* underlying unsigned short */
unsigned short us;
/* struct mapped bitfield */
struct _LHK_ACDPWRREG_Bfl bf;
} LHK_ACDPWRREG;
Fields:
Spare 13 bits |