GLAST/LAT > DAQ and FSW > FSW > Index by Name within Package
ConfigCRU cru - Telemetry Bitfield
|
"Configuration bits read from the CRU" (APP/LHK) View Options: (help) Ancestry:
Definition:
Description:
Layout: (hide detail; help)
ConfigCRU (bf) | Paduc5 spare (0-4) | select gbm (5) ... pps (6) | switch internal_pps (7)
typedef struct _LHK_ConfigCRU_Bfl {
#if ENDIANNESS_IS_BIG
/* Explicit 5 bit pad in unsigned char */
char spare:5;
/* Primary/redundant selector */
char gbm:1;
/* Primary/redundant selector */
char pps:1;
/* A switch (usually a power switch) */
char internal_pps:1;
#elif ENDIANNESS_IS_LITTLE
/* A switch (usually a power switch) */
char internal_pps:1;
/* Primary/redundant selector */
char pps:1;
/* Primary/redundant selector */
char gbm:1;
/* Explicit 5 bit pad in unsigned char */
char spare:5;
#else
#error _FILE_ ENDIANNESS NOT DEFINED
#endif
} __attribute__((packed)) LHK_ConfigCRU_Bfl;
typedef union _LHK_ConfigCRU {
/* underlying char */
char ui;
/* struct mapped bitfield */
struct _LHK_ConfigCRU_Bfl bf;
} LHK_ConfigCRU;
Fields:
Explicit 5 bit pad in unsigned char
Primary/redundant selector
A switch (usually a power switch) |