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

CFLAGS32 bootFlags - Telecommand Bitfield


"32-Bit Boot Flags Bitfield" (OS/PBC)

View Options: (help)

Ancestry:

    0x000 pkt LBTRESET
    0x00C bf CFLAGS32 bootFlags

Definition:

    Alignment:4-byte boundary
    APID:1600/0x640:1
    Attribute(s):
    C type:unsigned int
    Length: 32 bits (4 bytes)
    Offset:0x00C

Description:

    Bitfield containing the full 32 bits of the boot flags parameter.

Layout: (hide detail; help)

    Start Stop Size Item Type and Name

    typedef struct _PBC_CFLAGS32_Bfl {
    
        #if ENDIANNESS_IS_BIG
    
        /* Upper 16 Bits of Boot Flags */
        unsigned int         hi:16;
    
        /* Lower 16 Bits of Boot Flags */
        unsigned int         lo:16;
    
        #elif ENDIANNESS_IS_LITTLE
    
        /* Lower 16 Bits of Boot Flags */
        unsigned int         lo:16;
    
        /* Upper 16 Bits of Boot Flags */
        unsigned int         hi:16;
    
        #else
    
        #error _FILE_ ENDIANNESS NOT DEFINED
    
        #endif
    
    } __attribute__((packed)) PBC_CFLAGS32_Bfl;
    
    typedef union _PBC_CFLAGS32 {
    
        /* underlying unsigned int */
        unsigned int                    ui;
    
        /* struct mapped bitfield */
        struct _PBC_CFLAGS32_Bfl        bf;
    
    } PBC_CFLAGS32;