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

CBIASACDBF - Telecommand Bitfield


"ACD Bias Voltage Bitfield" (APP/LIM)

View Options: (help)

Definition:

    Alignment:4-byte boundary
    APID:1635/0x663:10
    Attribute(s):
    C type:unsigned int
    Length: 32 bits (4 bytes)

Description:

    Bitfield containing ACD bias voltages and their 'valid' flags.

Layout: (hide detail; help)

    Start Stop Size Item Type and Name

    typedef struct _LIM_CBIASACDBF_Bfl {
    
        #if ENDIANNESS_IS_BIG
    
        /* Item Selection */
        unsigned int         saa_valid:1;
    
        /* Item Selection */
        unsigned int         veto_en_a:1;
    
        /* Item Selection */
        unsigned int         veto_en_b:1;
    
        /* 1-Bit Padding */
        unsigned int         pad1:1;
    
        /* 12-Bit Bias Voltage */
        unsigned int         saa_bias:12;
    
        /* Item Selection */
        unsigned int         hv_valid:1;
    
        /* Item Selection */
        unsigned int         hvbs1:1;
    
        /* Item Selection */
        unsigned int         hvbs2:1;
    
        /* 1-Bit Padding */
        unsigned int         pad2:1;
    
        /* 12-Bit Bias Voltage */
        unsigned int         hv_bias:12;
    
        #elif ENDIANNESS_IS_LITTLE
    
        /* 12-Bit Bias Voltage */
        unsigned int         hv_bias:12;
    
        /* 1-Bit Padding */
        unsigned int         pad2:1;
    
        /* Item Selection */
        unsigned int         hvbs2:1;
    
        /* Item Selection */
        unsigned int         hvbs1:1;
    
        /* Item Selection */
        unsigned int         hv_valid:1;
    
        /* 12-Bit Bias Voltage */
        unsigned int         saa_bias:12;
    
        /* 1-Bit Padding */
        unsigned int         pad1:1;
    
        /* Item Selection */
        unsigned int         veto_en_b:1;
    
        /* Item Selection */
        unsigned int         veto_en_a:1;
    
        /* Item Selection */
        unsigned int         saa_valid:1;
    
        #else
    
        #error _FILE_ ENDIANNESS NOT DEFINED
    
        #endif
    
    } __attribute__((packed)) LIM_CBIASACDBF_Bfl;
    
    typedef union _LIM_CBIASACDBF {
    
        /* underlying unsigned int */
        unsigned int                    ui;
    
        /* struct mapped bitfield */
        struct _LIM_CBIASACDBF_Bfl      bf;
    
    } LIM_CBIASACDBF;
    

Used by: