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

uint19int13 - Telemetry Bitfield


"19 bit unsigned 13 bit signed" (SYS/AIT)

View Options: (help)

Definition:

    Alignment:4-byte boundary
    APID:807/0x327
    Attribute(s):
    C type:unsigned int
    Length: 32 bits (4 bytes)

Description:

Layout: (hide detail; help)

    Start Stop Size Item Type and Name
    0 18 19 uint19 u19
    19 31 13 int13 s13
    uint19int13 (bf)
    |  uint19 u19 (0-18)
    |  int13 s13 (19-31)
    

    typedef struct _AIT_uint19int13_Bfl {
    
        #if ENDIANNESS_IS_BIG
    
        /* 19 bit unsigned int */
        unsigned int         u19:19;
    
        /* 13 bit signed int */
        unsigned int         s13:13;
    
        #elif ENDIANNESS_IS_LITTLE
    
        /* 13 bit signed int */
        unsigned int         s13:13;
    
        /* 19 bit unsigned int */
        unsigned int         u19:19;
    
        #else
    
        #error _FILE_ ENDIANNESS NOT DEFINED
    
        #endif
    
    } __attribute__((packed)) AIT_uint19int13_Bfl;
    
    typedef union _AIT_uint19int13 {
    
        /* underlying unsigned int */
        unsigned int                    ui;
    
        /* struct mapped bitfield */
        struct _AIT_uint19int13_Bfl     bf;
    
    } AIT_uint19int13;
    

Fields:

      Attribute(s):  

      Brief:  "13 bit signed int"

      Instance(s):  s13

      Attribute(s):  

      Brief:  "19 bit unsigned int"

      Instance(s):  u19

Used by: