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

TOOSTATEBF too - Telemetry Bitfield


"TOO State Bitfield" (APP/LHK)

View Options: (help)

Ancestry:

Definition:

    Alignment:1-byte boundary
    APID:689/0x2B1
    Attribute(s):
    C type:unsigned char
    Length: 8 bits (1 byte)
    Offset:0x028

Description:

    Bitfield containing the current TOO observation state.

Layout: (hide detail; help)

    typedef struct _LHK_TOOSTATEBF_Bfl {
    
        #if ENDIANNESS_IS_BIG
    
        /* Explicit 5 bit pad in unsigned char */
        unsigned char        pad:5;
    
        /* Started Status */
        unsigned char        started:1;
    
        /* 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;
    
        /* Started Status */
        unsigned char        started:1;
    
        /* Explicit 5 bit pad in unsigned char */
        unsigned char        pad:5;
    
        #else
    
        #error _FILE_ ENDIANNESS NOT DEFINED
    
        #endif
    
    } __attribute__((packed)) LHK_TOOSTATEBF_Bfl;
    
    typedef union _LHK_TOOSTATEBF {
    
        /* underlying unsigned char */
        unsigned char                   uc;
    
        /* struct mapped bitfield */
        struct _LHK_TOOSTATEBF_Bfl      bf;
    
    } LHK_TOOSTATEBF;
    

Fields:

      Attribute(s):  

      Brief:  "Active Status"

      Instance(s):  active

      Flag to indicate that an activity is active.

      Attribute(s):  

      Brief:  "Explicit 5 bit pad in unsigned char"

      Instance(s):  pad

      Explicit 5 bit pad in unsigned char

      Attribute(s):  

      Brief:  "Ready Status"

      Instance(s):  ready

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

      Attribute(s):  

      Brief:  "Started Status"

      Instance(s):  started

      Flag to indicate that an activity has been started.