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

ushort97 - Telemetry Bitfield


"9 bit 7 bit unsigned short" (SYS/AIT)

View Options: (help)

Definition:

    Alignment:2-byte boundary
    APID:802/0x322
    Attribute(s):
    C type:unsigned short
    Length: 16 bits (2 bytes)

Description:

Layout: (hide detail; help)

    Start Stop Size Item Type and Name
    0 8 9 ushort9 u9
    9 15 7 ushort7 u7

    typedef struct _AIT_ushort97_Bfl {
    
        #if ENDIANNESS_IS_BIG
    
        /* 9 bit unsigned short */
        unsigned short       u9:9;
    
        /* 7 bit unsigned short */
        unsigned short       u7:7;
    
        #elif ENDIANNESS_IS_LITTLE
    
        /* 7 bit unsigned short */
        unsigned short       u7:7;
    
        /* 9 bit unsigned short */
        unsigned short       u9:9;
    
        #else
    
        #error _FILE_ ENDIANNESS NOT DEFINED
    
        #endif
    
    } __attribute__((packed)) AIT_ushort97_Bfl;
    
    typedef union _AIT_ushort97 {
    
        /* underlying unsigned short */
        unsigned short                  us;
    
        /* struct mapped bitfield */
        struct _AIT_ushort97_Bfl        bf;
    
    } AIT_ushort97;
    

Fields:

      Attribute(s):  

      Brief:  "7 bit unsigned short"

      Instance(s):  u7

      Attribute(s):  

      Brief:  "9 bit unsigned short"

      Instance(s):  u9

Used by: