GLAST/LAT > DAQ and FSW > FSW > Index by Name within Package
CpuSerial - Telemetry Bitfield
|
"Compound CPU serial number" (APP/LCM) View Options: (help) Definition:
Description:
Layout: (hide detail; help)
CpuSerial (bf) | MSGINST instrument (0-7) | MSGEBM address (8-15) | MSGNODE node (16-23) | MSGSN simpleSN (24-31)
typedef struct _LCM_CpuSerial_Bfl {
#if ENDIANNESS_IS_BIG
/* Instrument number */
unsigned int instrument:8;
/* CPU address on the EBM */
unsigned int address:8;
/* MSG ITC Source Node */
unsigned int node:8;
/* Simple CPU serial number */
unsigned int simpleSN:8;
#elif ENDIANNESS_IS_LITTLE
/* Simple CPU serial number */
unsigned int simpleSN:8;
/* MSG ITC Source Node */
unsigned int node:8;
/* CPU address on the EBM */
unsigned int address:8;
/* Instrument number */
unsigned int instrument:8;
#else
#error _FILE_ ENDIANNESS NOT DEFINED
#endif
} __attribute__((packed)) LCM_CpuSerial_Bfl;
typedef union _LCM_CpuSerial {
/* underlying unsigned int */
unsigned int ui;
/* struct mapped bitfield */
struct _LCM_CpuSerial_Bfl bf;
} LCM_CpuSerial;
Fields:
CPU address on the EBM
Unique instrument number. The LAT is instrument one. Laboratory instruments have instrument numbers two and higher.
Simple CPU serial number Used by:
|