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

CSELOTHERBF - Telecommand Bitfield


"EPU, PDU, EBM, and GEM Selection Bitfield" (APP/LIM)

View Options: (help)

Definition:

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

Description:

    Bitfield containing mask of EPU, PDU, EBM, and GEM elements to manipulate.

Layout: (hide detail; help)

    Start Stop Size Item Type and Name
    CSELOTHERBF (bf)
    |  CITEMSEL epu_sel_2 (0) ... epu_pdu_0 (5)
    |  CPAD10 pad (6-15)
    

    typedef struct _LIM_CSELOTHERBF_Bfl {
    
        #if ENDIANNESS_IS_BIG
    
        /* Item Selection */
        unsigned short       epu_sel_2:1;
    
        /* Item Selection */
        unsigned short       epu_sel_1:1;
    
        /* Item Selection */
        unsigned short       epu_sel_0:1;
    
        /* Item Selection */
        unsigned short       epu_pdu_2:1;
    
        /* Item Selection */
        unsigned short       epu_pdu_1:1;
    
        /* Item Selection */
        unsigned short       epu_pdu_0:1;
    
        /* 10-Bit Padding */
        unsigned short       pad:10;
    
        #elif ENDIANNESS_IS_LITTLE
    
        /* 10-Bit Padding */
        unsigned short       pad:10;
    
        /* Item Selection */
        unsigned short       epu_pdu_0:1;
    
        /* Item Selection */
        unsigned short       epu_pdu_1:1;
    
        /* Item Selection */
        unsigned short       epu_pdu_2:1;
    
        /* Item Selection */
        unsigned short       epu_sel_0:1;
    
        /* Item Selection */
        unsigned short       epu_sel_1:1;
    
        /* Item Selection */
        unsigned short       epu_sel_2:1;
    
        #else
    
        #error _FILE_ ENDIANNESS NOT DEFINED
    
        #endif
    
    } __attribute__((packed)) LIM_CSELOTHERBF_Bfl;
    
    typedef union _LIM_CSELOTHERBF {
    
        /* underlying unsigned short */
        unsigned short                  us;
    
        /* struct mapped bitfield */
        struct _LIM_CSELOTHERBF_Bfl     bf;
    
    } LIM_CSELOTHERBF;
    

Used by:

    %:USED_BY:%