GLAST/LAT > DAQ and FSW > FSW > Index by Name within Package
PDUTEMPWR - Telemetry Bitfield
|
"PDU TEM power state register" (APP/LHK) View Options: (help) Definition:
Description:
Layout: (hide detail; help)
PDUTEMPWR (bf) | switch temf (0) ... tem0 (15)
typedef struct _LHK_PDUTEMPWR_Bfl {
#if ENDIANNESS_IS_BIG
/* A switch (usually a power switch) */
unsigned short temf:1;
/* A switch (usually a power switch) */
unsigned short teme:1;
/* A switch (usually a power switch) */
unsigned short temd:1;
/* A switch (usually a power switch) */
unsigned short temc:1;
/* A switch (usually a power switch) */
unsigned short temb:1;
/* A switch (usually a power switch) */
unsigned short tema:1;
/* A switch (usually a power switch) */
unsigned short tem9:1;
/* A switch (usually a power switch) */
unsigned short tem8:1;
/* A switch (usually a power switch) */
unsigned short tem7:1;
/* A switch (usually a power switch) */
unsigned short tem6:1;
/* A switch (usually a power switch) */
unsigned short tem5:1;
/* A switch (usually a power switch) */
unsigned short tem4:1;
/* A switch (usually a power switch) */
unsigned short tem3:1;
/* A switch (usually a power switch) */
unsigned short tem2:1;
/* A switch (usually a power switch) */
unsigned short tem1:1;
/* A switch (usually a power switch) */
unsigned short tem0:1;
#elif ENDIANNESS_IS_LITTLE
/* A switch (usually a power switch) */
unsigned short tem0:1;
/* A switch (usually a power switch) */
unsigned short tem1:1;
/* A switch (usually a power switch) */
unsigned short tem2:1;
/* A switch (usually a power switch) */
unsigned short tem3:1;
/* A switch (usually a power switch) */
unsigned short tem4:1;
/* A switch (usually a power switch) */
unsigned short tem5:1;
/* A switch (usually a power switch) */
unsigned short tem6:1;
/* A switch (usually a power switch) */
unsigned short tem7:1;
/* A switch (usually a power switch) */
unsigned short tem8:1;
/* A switch (usually a power switch) */
unsigned short tem9:1;
/* A switch (usually a power switch) */
unsigned short tema:1;
/* A switch (usually a power switch) */
unsigned short temb:1;
/* A switch (usually a power switch) */
unsigned short temc:1;
/* A switch (usually a power switch) */
unsigned short temd:1;
/* A switch (usually a power switch) */
unsigned short teme:1;
/* A switch (usually a power switch) */
unsigned short temf:1;
#else
#error _FILE_ ENDIANNESS NOT DEFINED
#endif
} __attribute__((packed)) LHK_PDUTEMPWR_Bfl;
typedef union _LHK_PDUTEMPWR {
/* underlying unsigned short */
unsigned short us;
/* struct mapped bitfield */
struct _LHK_PDUTEMPWR_Bfl bf;
} LHK_PDUTEMPWR;
Fields:
A switch (usually a power switch) Used by:
|