GLAST/LAT > DAQ and FSW > FSW > Index by Name within Package
PDUEPUPWR epupwr - Telemetry Bitfield
|
"PDU EPU crate power state register" (APP/LHK) View Options: (help) Ancestry:
Definition:
Description:
Layout: (hide detail; help)
PDUEPUPWR (bf) | Padus13 spare0 (0-12) | switch epu2pwr (13) ... epu0pwr (15)
typedef struct _LHK_PDUEPUPWR_Bfl {
#if ENDIANNESS_IS_BIG
/* Explicit 13 bit pad in unsigned short */
unsigned short spare0:13;
/* A switch (usually a power switch) */
unsigned short epu2pwr:1;
/* A switch (usually a power switch) */
unsigned short epu1pwr:1;
/* A switch (usually a power switch) */
unsigned short epu0pwr:1;
#elif ENDIANNESS_IS_LITTLE
/* A switch (usually a power switch) */
unsigned short epu0pwr:1;
/* A switch (usually a power switch) */
unsigned short epu1pwr:1;
/* A switch (usually a power switch) */
unsigned short epu2pwr:1;
/* Explicit 13 bit pad in unsigned short */
unsigned short spare0:13;
#else
#error _FILE_ ENDIANNESS NOT DEFINED
#endif
} __attribute__((packed)) LHK_PDUEPUPWR_Bfl;
typedef union _LHK_PDUEPUPWR {
/* underlying unsigned short */
unsigned short us;
/* struct mapped bitfield */
struct _LHK_PDUEPUPWR_Bfl bf;
} LHK_PDUEPUPWR;
Fields:
Explicit 13 bit pad in unsigned short
A switch (usually a power switch) |