GLAST/LAT > DAQ and FSW > FSW > Index by Name within Package
EBMaddress - Telemetry Bitfield
|
"Contents of the EBM address register" (APP/LHK) View Options: (help) Definition:
Description:
Layout: (hide detail; help)
EBMaddress (bf) | status status (0) | Padui7 spare0 (1-7) | Padui8 spare1 (8-15) ... spare2 (16-23) | uc address (24-31)
typedef struct _LHK_EBMaddress_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;
/* Explicit 8 bit pad in unsigned int */
unsigned int spare1:8;
/* Explicit 8 bit pad in unsigned int */
unsigned int spare2:8;
/* Unsigned char */
unsigned int address:8;
#elif ENDIANNESS_IS_LITTLE
/* Unsigned char */
unsigned int address:8;
/* Explicit 8 bit pad in unsigned int */
unsigned int spare2:8;
/* Explicit 8 bit pad in unsigned int */
unsigned int spare1: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_EBMaddress_Bfl;
typedef union _LHK_EBMaddress {
/* underlying unsigned int */
unsigned int ui;
/* struct mapped bitfield */
struct _LHK_EBMaddress_Bfl bf;
} LHK_EBMaddress;
Fields:
Explicit 7 bit pad in unsigned int
Explicit 8 bit pad in unsigned int
Readout status. If set, read out failed for the designated ADC/switch.
Unsigned char Used by:
|