GLAST/LAT > DAQ and FSW > FSW > Index by Name within Package
CIDBF idents - Telecommand Bitfield
|
"LAT Unit and Transaction ID Bitfield" (SVC/MEM) View Options: (help) Ancestry:
Definition:
Description:
Layout: (hide detail; help)
CIDBF (bf) | CLATUNIT latUnit (0-3) | CTRANID tranID (4-15)
typedef struct _MEM_CIDBF_Bfl {
#if ENDIANNESS_IS_BIG
/* Target LAT Unit */
unsigned short latUnit:4;
/* Transaction ID */
unsigned short tranID:12;
#elif ENDIANNESS_IS_LITTLE
/* Transaction ID */
unsigned short tranID:12;
/* Target LAT Unit */
unsigned short latUnit:4;
#else
#error _FILE_ ENDIANNESS NOT DEFINED
#endif
} __attribute__((packed)) MEM_CIDBF_Bfl;
typedef union _MEM_CIDBF {
/* underlying unsigned short */
unsigned short us;
/* struct mapped bitfield */
struct _MEM_CIDBF_Bfl bf;
} MEM_CIDBF;
|