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

CONFIGBITS valu - Telecommand Bitfield


"Definition of trace enable bits" (APP/LSW)

View Options: (help)

Ancestry:

Definition:

    Alignment:4-byte boundary
    APID:1612/0x64C:4
    Attribute(s):
    C type:unsigned int
    Length: 32 bits (4 bytes)
    Offset:0x010

Description:

    Definition of trace enable bits

Layout: (hide detail; help)

    Start Stop Size Item Type and Name

    typedef struct _LSW_CONFIGBITS_Bfl {
    
        #if ENDIANNESS_IS_BIG
    
        /* Pad bitfield out to 32 bits */
        unsigned int         pad:29;
    
        /* Enable exception 0x900 (decrementer) tracing */
        unsigned int         exc_9:1;
    
        /* Enable exception 0x500 (external hardware interrupt) tracing */
        unsigned int         exc_5:1;
    
        /* Enable cache flushing during task switches */
        unsigned int         flush:1;
    
        #elif ENDIANNESS_IS_LITTLE
    
        /* Enable cache flushing during task switches */
        unsigned int         flush:1;
    
        /* Enable exception 0x500 (external hardware interrupt) tracing */
        unsigned int         exc_5:1;
    
        /* Enable exception 0x900 (decrementer) tracing */
        unsigned int         exc_9:1;
    
        /* Pad bitfield out to 32 bits */
        unsigned int         pad:29;
    
        #else
    
        #error _FILE_ ENDIANNESS NOT DEFINED
    
        #endif
    
    } __attribute__((packed)) LSW_CONFIGBITS_Bfl;
    
    typedef union _LSW_CONFIGBITS {
    
        /* underlying unsigned int */
        unsigned int                    ui;
    
        /* struct mapped bitfield */
        struct _LSW_CONFIGBITS_Bfl      bf;
    
    } LSW_CONFIGBITS;