GLAST/LAT > DAQ and FSW > FSW > Index by Name within Package
ARRSTATEBF arr - Telemetry Bitfield
|
"ARR State Bitfield" (APP/LHK) View Options: (help) Ancestry:
Definition:
Description:
Layout: (hide detail; help)
ARRSTATEBF (bf) | Paduc2 pad (0-1) | PENDING rep_req_pending (2) | GRBSTATE grb_state (3-5) | ACTIVE active (6) | READY ready (7)
typedef struct _LHK_ARRSTATEBF_Bfl {
#if ENDIANNESS_IS_BIG
/* Explicit 2 bit pad in unsigned char */
unsigned char pad:2;
/* Pending Status */
unsigned char rep_req_pending:1;
/* GRB State */
unsigned char grb_state:3;
/* Active Status */
unsigned char active:1;
/* Ready Status */
unsigned char ready:1;
#elif ENDIANNESS_IS_LITTLE
/* Ready Status */
unsigned char ready:1;
/* Active Status */
unsigned char active:1;
/* GRB State */
unsigned char grb_state:3;
/* Pending Status */
unsigned char rep_req_pending:1;
/* Explicit 2 bit pad in unsigned char */
unsigned char pad:2;
#else
#error _FILE_ ENDIANNESS NOT DEFINED
#endif
} __attribute__((packed)) LHK_ARRSTATEBF_Bfl;
typedef union _LHK_ARRSTATEBF {
/* underlying unsigned char */
unsigned char uc;
/* struct mapped bitfield */
struct _LHK_ARRSTATEBF_Bfl bf;
} LHK_ARRSTATEBF;
Fields:
Flag to indicate that an activity is active.
Current state of the GRB handler (0=idle, 4=GRB0, 5=GRB1, 6=GRB2).
Explicit 3 bit pad in unsigned char
Flag to indicate that an operation is pending.
Flag to indicate that an activity is ready to be started. |