GLAST/LAT > DAQ and FSW > FSW > Index by Name within Package
ConfigSIB sib - Telemetry Bitfield
|
"Power configuration bits from the SIB" (APP/LHK) View Options: (help) Ancestry:
Definition:
Description:
Layout: (hide detail; help)
ConfigSIB (bf) | Paduc3 spare (0-2) | select mainfeed (3) | switch PDUprimary (4) ... GASUredundant (7)
typedef struct _LHK_ConfigSIB_Bfl {
#if ENDIANNESS_IS_BIG
/* Explicit 3 bit pad in unsigned char */
char spare:3;
/* Primary/redundant selector */
char mainfeed:1;
/* A switch (usually a power switch) */
char PDUprimary:1;
/* A switch (usually a power switch) */
char PDUredundant:1;
/* A switch (usually a power switch) */
char GASUprimary:1;
/* A switch (usually a power switch) */
char GASUredundant:1;
#elif ENDIANNESS_IS_LITTLE
/* A switch (usually a power switch) */
char GASUredundant:1;
/* A switch (usually a power switch) */
char GASUprimary:1;
/* A switch (usually a power switch) */
char PDUredundant:1;
/* A switch (usually a power switch) */
char PDUprimary:1;
/* Primary/redundant selector */
char mainfeed:1;
/* Explicit 3 bit pad in unsigned char */
char spare:3;
#else
#error _FILE_ ENDIANNESS NOT DEFINED
#endif
} __attribute__((packed)) LHK_ConfigSIB_Bfl;
typedef union _LHK_ConfigSIB {
/* underlying char */
char ui;
/* struct mapped bitfield */
struct _LHK_ConfigSIB_Bfl bf;
} LHK_ConfigSIB;
Fields:
Explicit 3 bit pad in unsigned char
Primary/redundant selector
A switch (usually a power switch) |