GLAST/LAT > DAQ and FSW > FSW > Index by Name within Package
PIDS pids - Telemetry Bitfield
|
View Options: (help) Ancestry:
Definition:
Description:
Layout: (hide detail; help)
PIDS (bf) | Padus13 pad0 (0-12) | SCPIDIN2 sc2 (13) | SCPIDIN1 sc1 (14) | SCPIDIN0 sc0 (15)
typedef struct _LHK_PIDS_Bfl {
#if ENDIANNESS_IS_BIG
/* Explicit 13 bit pad in unsigned short */
unsigned short pad0:13;
/* SC PID Input 2 */
unsigned short sc2:1;
/* SC PID Input 1 */
unsigned short sc1:1;
/* SC PID Input 0 */
unsigned short sc0:1;
#elif ENDIANNESS_IS_LITTLE
/* SC PID Input 0 */
unsigned short sc0:1;
/* SC PID Input 1 */
unsigned short sc1:1;
/* SC PID Input 2 */
unsigned short sc2:1;
/* Explicit 13 bit pad in unsigned short */
unsigned short pad0:13;
#else
#error _FILE_ ENDIANNESS NOT DEFINED
#endif
} __attribute__((packed)) LHK_PIDS_Bfl;
typedef union _LHK_PIDS {
/* underlying unsigned short */
unsigned short us;
/* struct mapped bitfield */
struct _LHK_PIDS_Bfl bf;
} LHK_PIDS;
Fields:
Explicit 13 bit pad in unsigned short
|