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:

    0x000 pkt State
    0x01B bf TARRSTATEBF arr_state

Definition:

    Alignment:1-byte boundary
    APID:783/0x30F
    Attribute(s):
    C type:unsigned char
    Length: 8 bits (1 byte)
    Offset:0x01B

Description:

    Bitfield containing the current ARR observation state.

Layout: (hide detail; help)

    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:

      Attribute(s):  

      Brief:  "Active Status"

      Instance(s):  active

      Flag to indicate that an activity is active.

      Attribute(s):  

      Brief:  "GRB State"

      Instance(s):  grb_state

      Current state of the GRB handler (0=idle, 4=GRB0, 5=GRB1, 6=GRB2).

      Attribute(s):  

      Brief:  "2-Bit Padding"

      Instance(s):  pad

      Explicit padding of 2 bits.

      Attribute(s):  

      Brief:  "Pending Status"

      Instance(s):  rep_req_pending

      Flag to indicate that an operation is pending.

      Attribute(s):  

      Brief:  "Ready Status"

      Instance(s):  ready

      Flag to indicate that an activity is ready to be started.