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

CTOWERSELBF - Telecommand Bitfield


"Tower Selection Bitfield" (APP/LIM)

View Options: (help)

Definition:

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

Description:

    Bitfield containing mask of towers to manipulate.

Layout: (hide detail; help)

    Start Stop Size Item Type and Name
    CTOWERSELBF (bf)
    |  CITEMSEL tower_15 (0) ... tower_0 (15)
    

    typedef struct _LIM_CTOWERSELBF_Bfl {
    
        #if ENDIANNESS_IS_BIG
    
        /* Item Selection */
        unsigned short       tower_15:1;
    
        /* Item Selection */
        unsigned short       tower_14:1;
    
        /* Item Selection */
        unsigned short       tower_13:1;
    
        /* Item Selection */
        unsigned short       tower_12:1;
    
        /* Item Selection */
        unsigned short       tower_11:1;
    
        /* Item Selection */
        unsigned short       tower_10:1;
    
        /* Item Selection */
        unsigned short       tower_9:1;
    
        /* Item Selection */
        unsigned short       tower_8:1;
    
        /* Item Selection */
        unsigned short       tower_7:1;
    
        /* Item Selection */
        unsigned short       tower_6:1;
    
        /* Item Selection */
        unsigned short       tower_5:1;
    
        /* Item Selection */
        unsigned short       tower_4:1;
    
        /* Item Selection */
        unsigned short       tower_3:1;
    
        /* Item Selection */
        unsigned short       tower_2:1;
    
        /* Item Selection */
        unsigned short       tower_1:1;
    
        /* Item Selection */
        unsigned short       tower_0:1;
    
        #elif ENDIANNESS_IS_LITTLE
    
        /* Item Selection */
        unsigned short       tower_0:1;
    
        /* Item Selection */
        unsigned short       tower_1:1;
    
        /* Item Selection */
        unsigned short       tower_2:1;
    
        /* Item Selection */
        unsigned short       tower_3:1;
    
        /* Item Selection */
        unsigned short       tower_4:1;
    
        /* Item Selection */
        unsigned short       tower_5:1;
    
        /* Item Selection */
        unsigned short       tower_6:1;
    
        /* Item Selection */
        unsigned short       tower_7:1;
    
        /* Item Selection */
        unsigned short       tower_8:1;
    
        /* Item Selection */
        unsigned short       tower_9:1;
    
        /* Item Selection */
        unsigned short       tower_10:1;
    
        /* Item Selection */
        unsigned short       tower_11:1;
    
        /* Item Selection */
        unsigned short       tower_12:1;
    
        /* Item Selection */
        unsigned short       tower_13:1;
    
        /* Item Selection */
        unsigned short       tower_14:1;
    
        /* Item Selection */
        unsigned short       tower_15:1;
    
        #else
    
        #error _FILE_ ENDIANNESS NOT DEFINED
    
        #endif
    
    } __attribute__((packed)) LIM_CTOWERSELBF_Bfl;
    
    typedef union _LIM_CTOWERSELBF {
    
        /* underlying unsigned short */
        unsigned short                  us;
    
        /* struct mapped bitfield */
        struct _LIM_CTOWERSELBF_Bfl     bf;
    
    } LIM_CTOWERSELBF;
    

Used by: