GLAST/LAT > DAQ and FSW > FSW > Index by Name within Package
BOOTCOMMAND tcLast - Telemetry Bitfield
|
"Last boot command bitfield" (OS/PBC) View Options: (help) Ancestry:
Definition:
Description:
Layout: (hide detail; help)
BOOTCOMMAND (bf) | BOOTLASTFUNC func (0-4) | BOOTLASTAPID apid (5-15)
typedef struct _PBC_BOOTCOMMAND_Bfl {
#if ENDIANNESS_IS_BIG
/* Last Function Code */
unsigned short func:5;
/* Last APID */
unsigned short apid:11;
#elif ENDIANNESS_IS_LITTLE
/* Last APID */
unsigned short apid:11;
/* Last Function Code */
unsigned short func:5;
#else
#error _FILE_ ENDIANNESS NOT DEFINED
#endif
} __attribute__((packed)) PBC_BOOTCOMMAND_Bfl;
typedef union _PBC_BOOTCOMMAND {
/* underlying unsigned short */
unsigned short us;
/* struct mapped bitfield */
struct _PBC_BOOTCOMMAND_Bfl bf;
} PBC_BOOTCOMMAND;
Fields:
APID of last command received by the PBC.
Function code of the last command received by the PBC. |