GLAST/LAT > DAQ and FSW > FSW > Index by Name within Package

ARRSTATEBF arr_state - Telemetry Bitfield


"ARR State Bitfield" (APP/LHK)

View Options: (help)

Ancestry:

    0x000 pkt Lrs0
    0x05F bf ARRSTATEBF arr_state

Definition:

    Alignment:1-byte boundary
    APID:551/0x227
    Attribute(s):
    C type:unsigned char
    Length: 8 bits (1 byte)
    Offset:0x05F

Description:

    Bitfield containing the current ARR observation state.

Layout: (hide detail; help)

    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:

      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:  "Explicit 2 bit pad in unsigned char"

      Instance(s):  pad

      Explicit 3 bit pad in unsigned char

      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.