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

BUINT - Telecommand Bitfield


"Unsigned integer work around for ITOS" (DAQ/ISIS)

View Options: (help)

Definition:

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

Description:

Layout: (hide detail; help)

    Start Stop Size Item Type and Name
    BUINT (bf)
    |  UINT uint (0-31)
    

    typedef struct _ISIS_BUINT_Bfl {
    
        #if ENDIANNESS_IS_BIG
    
        /* Unsigned interger */
        unsigned int         uint:32;
    
        #elif ENDIANNESS_IS_LITTLE
    
        /* Unsigned interger */
        unsigned int         uint:32;
    
        #else
    
        #error _FILE_ ENDIANNESS NOT DEFINED
    
        #endif
    
    } __attribute__((packed)) ISIS_BUINT_Bfl;
    
    typedef union _ISIS_BUINT {
    
        /* underlying unsigned int */
        unsigned int                    ui;
    
        /* struct mapped bitfield */
        struct _ISIS_BUINT_Bfl          bf;
    
    } ISIS_BUINT;
    

Used by: