GLAST/LAT > DAQ and FSW > FSW > Index by Name within Package
SIBconfig SIBconfig - Telemetry Bitfield
|
"Power configuration bits from the SIB" (APP/LHK) View Options: (help) Ancestry:
Definition:
Description:
Layout: (hide detail; help)
SIBconfig (bf) | Padui16 spare0 (0-15) | Padui8 spare1 (16-23) | Padui3 spare2 (24-26) | select mainfeed (27) | switch PDUprimary (28) ... GASUredundant (31)
typedef struct _LHK_SIBconfig_Bfl {
#if ENDIANNESS_IS_BIG
/* Explicit 16 bit pad in unsigned int */
unsigned int spare0:16;
/* Explicit 8 bit pad in unsigned int */
unsigned int spare1:8;
/* Explicit 3 bit pad in unsigned int */
unsigned int spare2:3;
/* Primary/redundant selector */
unsigned int mainfeed:1;
/* A switch (usually a power switch) */
unsigned int PDUprimary:1;
/* A switch (usually a power switch) */
unsigned int PDUredundant:1;
/* A switch (usually a power switch) */
unsigned int GASUprimary:1;
/* A switch (usually a power switch) */
unsigned int GASUredundant:1;
#elif ENDIANNESS_IS_LITTLE
/* A switch (usually a power switch) */
unsigned int GASUredundant:1;
/* A switch (usually a power switch) */
unsigned int GASUprimary:1;
/* A switch (usually a power switch) */
unsigned int PDUredundant:1;
/* A switch (usually a power switch) */
unsigned int PDUprimary:1;
/* Primary/redundant selector */
unsigned int mainfeed:1;
/* Explicit 3 bit pad in unsigned int */
unsigned int spare2:3;
/* Explicit 8 bit pad in unsigned int */
unsigned int spare1:8;
/* Explicit 16 bit pad in unsigned int */
unsigned int spare0:16;
#else
#error _FILE_ ENDIANNESS NOT DEFINED
#endif
} __attribute__((packed)) LHK_SIBconfig_Bfl;
typedef union _LHK_SIBconfig {
/* underlying unsigned int */
unsigned int ui;
/* struct mapped bitfield */
struct _LHK_SIBconfig_Bfl bf;
} LHK_SIBconfig;
Fields:
Explicit 16 bit pad in unsigned int
Explicit 3 bit pad in unsigned int
Explicit 8 bit pad in unsigned int
Primary/redundant selector
A switch (usually a power switch) |