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

TSTATEBF - Telemetry Bitfield


"Activity State Bitfield" (APP/LIM)

View Options: (help)

Definition:

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

Description:

    Bitfield containing ready and active status flags for an activity.

Layout: (hide detail; help)

    Start Stop Size Item Type and Name
    0 5 6 TPAD6 pad
    6 6 1 TACTIVE active
    7 7 1 TREADY ready

    typedef struct _LIM_TSTATEBF_Bfl {
    
        #if ENDIANNESS_IS_BIG
    
        /* 6-Bit Padding */
        unsigned char        pad:6;
    
        /* 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;
    
        /* 6-Bit Padding */
        unsigned char        pad:6;
    
        #else
    
        #error _FILE_ ENDIANNESS NOT DEFINED
    
        #endif
    
    } __attribute__((packed)) LIM_TSTATEBF_Bfl;
    
    typedef union _LIM_TSTATEBF {
    
        /* underlying unsigned char */
        unsigned char                   uc;
    
        /* struct mapped bitfield */
        struct _LIM_TSTATEBF_Bfl        bf;
    
    } LIM_TSTATEBF;
    

Fields:

      Attribute(s):  

      Brief:  "Active Status"

      Instance(s):  active

      Flag to indicate that an activity is active.

      Attribute(s):  

      Brief:  "6-Bit Padding"

      Instance(s):  pad

      Explicit padding of 6 bits.

      Attribute(s):  

      Brief:  "Ready Status"

      Instance(s):  ready

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

Used by: