GLAST/LAT > DAQ and FSW > FSW > Index by Name within Package
IDBF target - Telecommand Bitfield
|
"LAT Unit and Transaction ID Bitfield" (APP/LSM) View Options: (help) Ancestry:
Definition:
Description:
Layout: (hide detail; help)
IDBF (bf) | UNIT unit (0-3) | TRANID tranID (4-15)
typedef struct _LSM_IDBF_Bfl {
#if ENDIANNESS_IS_BIG
/* Target LAT Unit */
unsigned short unit:4;
/* Transaction ID */
unsigned short tranID:12;
#elif ENDIANNESS_IS_LITTLE
/* Transaction ID */
unsigned short tranID:12;
/* Target LAT Unit */
unsigned short unit:4;
#else
#error _FILE_ ENDIANNESS NOT DEFINED
#endif
} __attribute__((packed)) LSM_IDBF_Bfl;
typedef union _LSM_IDBF {
/* underlying unsigned short */
unsigned short us;
/* struct mapped bitfield */
struct _LSM_IDBF_Bfl bf;
} LSM_IDBF;
|