GLAST/LAT > DAQ and FSW > FSW > Index by Name within Package
AEMFREEPWR - Telemetry Bitfield
|
"AEM FREE board power state register" (APP/LHK) View Options: (help) Definition:
Description:
Layout: (hide detail; help)
AEMFREEPWR (bf) | Paduc3 pad (0-2) | status status (3) | switch free11 (4) ... free0 (15)
typedef struct _LHK_AEMFREEPWR_Bfl {
#if ENDIANNESS_IS_BIG
/* Explicit 3 bit pad in unsigned char */
unsigned short pad:3;
/* Readout status (ADC or switch) */
unsigned short status:1;
/* A switch (usually a power switch) */
unsigned short free11:1;
/* A switch (usually a power switch) */
unsigned short free10:1;
/* A switch (usually a power switch) */
unsigned short free9:1;
/* A switch (usually a power switch) */
unsigned short free8:1;
/* A switch (usually a power switch) */
unsigned short free7:1;
/* A switch (usually a power switch) */
unsigned short free6:1;
/* A switch (usually a power switch) */
unsigned short free5:1;
/* A switch (usually a power switch) */
unsigned short free4:1;
/* A switch (usually a power switch) */
unsigned short free3:1;
/* A switch (usually a power switch) */
unsigned short free2:1;
/* A switch (usually a power switch) */
unsigned short free1:1;
/* A switch (usually a power switch) */
unsigned short free0:1;
#elif ENDIANNESS_IS_LITTLE
/* A switch (usually a power switch) */
unsigned short free0:1;
/* A switch (usually a power switch) */
unsigned short free1:1;
/* A switch (usually a power switch) */
unsigned short free2:1;
/* A switch (usually a power switch) */
unsigned short free3:1;
/* A switch (usually a power switch) */
unsigned short free4:1;
/* A switch (usually a power switch) */
unsigned short free5:1;
/* A switch (usually a power switch) */
unsigned short free6:1;
/* A switch (usually a power switch) */
unsigned short free7:1;
/* A switch (usually a power switch) */
unsigned short free8:1;
/* A switch (usually a power switch) */
unsigned short free9:1;
/* A switch (usually a power switch) */
unsigned short free10:1;
/* A switch (usually a power switch) */
unsigned short free11:1;
/* Readout status (ADC or switch) */
unsigned short status:1;
/* Explicit 3 bit pad in unsigned char */
unsigned short pad:3;
#else
#error _FILE_ ENDIANNESS NOT DEFINED
#endif
} __attribute__((packed)) LHK_AEMFREEPWR_Bfl;
typedef union _LHK_AEMFREEPWR {
/* underlying unsigned short */
unsigned short us;
/* struct mapped bitfield */
struct _LHK_AEMFREEPWR_Bfl bf;
} LHK_AEMFREEPWR;
Fields:
Explicit 3 bit pad in unsigned char
Readout status. If set, read out failed for the designated ADC/switch.
A switch (usually a power switch) Used by:
|