GLAST/LAT > DAQ and FSW > FSW > Index by Name within Package
CBIASACDBF - Telecommand Bitfield
|
"ACD Bias Voltage Bitfield" (APP/LIM) View Options: (help) Definition:
Description:
Layout: (hide detail; help)
CBIASACDBF (bf) | CITEMSEL saa_valid (0) ... veto_en_b (2) | CPAD1 pad1 (3) | CBIAS12 saa_bias (4-15) | CITEMSEL hv_valid (16) ... hvbs2 (18) | CPAD1 pad2 (19) | CBIAS12 hv_bias (20-31)
typedef struct _LIM_CBIASACDBF_Bfl {
#if ENDIANNESS_IS_BIG
/* Item Selection */
unsigned int saa_valid:1;
/* Item Selection */
unsigned int veto_en_a:1;
/* Item Selection */
unsigned int veto_en_b:1;
/* 1-Bit Padding */
unsigned int pad1:1;
/* 12-Bit Bias Voltage */
unsigned int saa_bias:12;
/* Item Selection */
unsigned int hv_valid:1;
/* Item Selection */
unsigned int hvbs1:1;
/* Item Selection */
unsigned int hvbs2:1;
/* 1-Bit Padding */
unsigned int pad2:1;
/* 12-Bit Bias Voltage */
unsigned int hv_bias:12;
#elif ENDIANNESS_IS_LITTLE
/* 12-Bit Bias Voltage */
unsigned int hv_bias:12;
/* 1-Bit Padding */
unsigned int pad2:1;
/* Item Selection */
unsigned int hvbs2:1;
/* Item Selection */
unsigned int hvbs1:1;
/* Item Selection */
unsigned int hv_valid:1;
/* 12-Bit Bias Voltage */
unsigned int saa_bias:12;
/* 1-Bit Padding */
unsigned int pad1:1;
/* Item Selection */
unsigned int veto_en_b:1;
/* Item Selection */
unsigned int veto_en_a:1;
/* Item Selection */
unsigned int saa_valid:1;
#else
#error _FILE_ ENDIANNESS NOT DEFINED
#endif
} __attribute__((packed)) LIM_CBIASACDBF_Bfl;
typedef union _LIM_CBIASACDBF {
/* underlying unsigned int */
unsigned int ui;
/* struct mapped bitfield */
struct _LIM_CBIASACDBF_Bfl bf;
} LIM_CBIASACDBF;
Used by:
|