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

ConfigTHS - Telemetry Bitfield


"Structure to capture the THS imulation bits" (APP/LHK)

View Options: (help)

Definition:

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

Description:

    Structure to capture the THS imulation bits

Layout: (hide detail; help)

    Start Stop Size Item Type and Name
    0 5 6 Paduc6 rsv
    6 6 1 THS pps
    7 7 1 THS tt
    ConfigTHS (bf)
    |  Paduc6 rsv (0-5)
    |  THS pps (6) ... tt (7)
    

    typedef struct _LHK_ConfigTHS_Bfl {
    
        #if ENDIANNESS_IS_BIG
    
        /* Explicit 6 bit pad in unsigned char */
        unsigned char        rsv:6;
    
        /* Status of time-hack services simulation */
        unsigned char        pps:1;
    
        /* Status of time-hack services simulation */
        unsigned char        tt:1;
    
        #elif ENDIANNESS_IS_LITTLE
    
        /* Status of time-hack services simulation */
        unsigned char        tt:1;
    
        /* Status of time-hack services simulation */
        unsigned char        pps:1;
    
        /* Explicit 6 bit pad in unsigned char */
        unsigned char        rsv:6;
    
        #else
    
        #error _FILE_ ENDIANNESS NOT DEFINED
    
        #endif
    
    } __attribute__((packed)) LHK_ConfigTHS_Bfl;
    
    typedef union _LHK_ConfigTHS {
    
        /* underlying unsigned char */
        unsigned char                   uc;
    
        /* struct mapped bitfield */
        struct _LHK_ConfigTHS_Bfl       bf;
    
    } LHK_ConfigTHS;
    

Fields:

      Attribute(s):  

      Brief:  "Explicit 6 bit pad in unsigned char"

      Instance(s):  rsv

      Explicit 6 bit pad in unsigned char

      Attribute(s):  

      Brief:  "Status of time-hack services simulation"

      Instance(s):  pps, tt

      Status of time-hack services simulation

Used by: