GLAST/LAT > DAQ and FSW > FSW > Index by Name within Package
siu_cfg - Telecommand Bitfield
|
"SIU on configuration" (DAQ/ISIS) View Options: (help) Definition:
Description: Layout: (hide detail; help)
siu_cfg (bf) | siu_id siu (0-1) | p_s_select mf (2) | on_off_select pdu_0 (3) ... pdu_1 (4) | p_s_select dab (5) | on_off_select pps_i (6) | p_s_select pps (7) ... ssr (9) | BITS_6 pad (10-15)
typedef struct _ISIS_siu_cfg_Bfl {
#if ENDIANNESS_IS_BIG
/* Identifies the SIU */
unsigned short siu:2;
/* Simple primary-seconday selector */
unsigned short mf:1;
/* Simple on-off selector */
unsigned short pdu_0:1;
/* Simple on-off selector */
unsigned short pdu_1:1;
/* Simple primary-seconday selector */
unsigned short dab:1;
/* Simple on-off selector */
unsigned short pps_i:1;
/* Simple primary-seconday selector */
unsigned short pps:1;
/* Simple primary-seconday selector */
unsigned short gbm:1;
/* Simple primary-seconday selector */
unsigned short ssr:1;
/* Bits, 6 wide */
unsigned short pad:6;
#elif ENDIANNESS_IS_LITTLE
/* Bits, 6 wide */
unsigned short pad:6;
/* Simple primary-seconday selector */
unsigned short ssr:1;
/* Simple primary-seconday selector */
unsigned short gbm:1;
/* Simple primary-seconday selector */
unsigned short pps:1;
/* Simple on-off selector */
unsigned short pps_i:1;
/* Simple primary-seconday selector */
unsigned short dab:1;
/* Simple on-off selector */
unsigned short pdu_1:1;
/* Simple on-off selector */
unsigned short pdu_0:1;
/* Simple primary-seconday selector */
unsigned short mf:1;
/* Identifies the SIU */
unsigned short siu:2;
#else
#error _FILE_ ENDIANNESS NOT DEFINED
#endif
} __attribute__((packed)) ISIS_siu_cfg_Bfl;
typedef union _ISIS_siu_cfg {
/* underlying unsigned short */
unsigned short us;
/* struct mapped bitfield */
struct _ISIS_siu_cfg_Bfl bf;
} ISIS_siu_cfg;
Used by:
|