GLAST/LAT > DAQ and FSW > FSW > Index by Name within Package
EBMfrontAConfig - Telemetry Bitfield
|
"Contents of the EBM front-end A configuration register" (APP/LHK) View Options: (help) Definition:
Description:
Layout: (hide detail; help)
EBMfrontAConfig (bf) | status status (0) | Padui7 spare0 (1-7) | uc version (8-15) | Paduc8 spare1 (16-23) | uc reloc (24-31)
typedef struct _LHK_EBMfrontAConfig_Bfl {
#if ENDIANNESS_IS_BIG
/* Readout status (ADC or switch) */
unsigned int status:1;
/* Explicit 7 bit pad in unsigned int */
unsigned int spare0:7;
/* Unsigned char */
unsigned int version:8;
/* Explicit 8 bit pad in unsigned char */
unsigned int spare1:8;
/* Unsigned char */
unsigned int reloc:8;
#elif ENDIANNESS_IS_LITTLE
/* Unsigned char */
unsigned int reloc:8;
/* Explicit 8 bit pad in unsigned char */
unsigned int spare1:8;
/* Unsigned char */
unsigned int version:8;
/* Explicit 7 bit pad in unsigned int */
unsigned int spare0:7;
/* Readout status (ADC or switch) */
unsigned int status:1;
#else
#error _FILE_ ENDIANNESS NOT DEFINED
#endif
} __attribute__((packed)) LHK_EBMfrontAConfig_Bfl;
typedef union _LHK_EBMfrontAConfig {
/* underlying unsigned int */
unsigned int ui;
/* struct mapped bitfield */
struct _LHK_EBMfrontAConfig_Bfl bf;
} LHK_EBMfrontAConfig;
Fields:
Explicit 8 bit pad in unsigned char
Explicit 7 bit pad in unsigned int
Readout status. If set, read out failed for the designated ADC/switch.
Unsigned char Used by:
|