GLAST/LAT > DAQ and FSW > FSW > Index by Name within Package
TARRSTATEBF arr_state - Telemetry Bitfield
|
"ARR State Bitfield" (APP/LIM) View Options: (help) Ancestry:
Definition:
Description:
Layout: (hide detail; help)
TARRSTATEBF (bf) | TPAD2 pad (0-1) | TPENDING rep_req_pending (2) | TGRBSTATE grb_state (3-5) | TACTIVE active (6) | TREADY ready (7)
typedef struct _LIM_TARRSTATEBF_Bfl {
#if ENDIANNESS_IS_BIG
/* 2-Bit Padding */
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;
/* 2-Bit Padding */
unsigned char pad:2;
#else
#error _FILE_ ENDIANNESS NOT DEFINED
#endif
} __attribute__((packed)) LIM_TARRSTATEBF_Bfl;
typedef union _LIM_TARRSTATEBF {
/* underlying unsigned char */
unsigned char uc;
/* struct mapped bitfield */
struct _LIM_TARRSTATEBF_Bfl bf;
} LIM_TARRSTATEBF;
Fields:
Flag to indicate that an activity is active.
Current state of the GRB handler (0=idle, 4=GRB0, 5=GRB1, 6=GRB2).
Explicit padding of 2 bits.
Flag to indicate that an operation is pending.
Flag to indicate that an activity is ready to be started. |