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

AEMFRVDD - Telemetry Bitfield


"AEM VDD" (APP/LHK)

View Options: (help)

Definition:

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

Description:

Layout: (hide detail; help)

    Start Stop Size Item Type and Name
    0 3 4 ADCS stat
    4 15 12 ADCV val
    AEMFRVDD (bf)
    |  ADCS stat (0-3)
    |  ADCV val (4-15)
    

    typedef struct _LHK_AEMFRVDD_Bfl {
    
        #if ENDIANNESS_IS_BIG
    
        /* ADC status bits */
        unsigned short       stat:4;
    
        /* ADC raw value */
        unsigned short       val:12;
    
        #elif ENDIANNESS_IS_LITTLE
    
        /* ADC raw value */
        unsigned short       val:12;
    
        /* ADC status bits */
        unsigned short       stat:4;
    
        #else
    
        #error _FILE_ ENDIANNESS NOT DEFINED
    
        #endif
    
    } __attribute__((packed)) LHK_AEMFRVDD_Bfl;
    
    typedef union _LHK_AEMFRVDD {
    
        /* underlying unsigned short */
        unsigned short                  us;
    
        /* struct mapped bitfield */
        struct _LHK_AEMFRVDD_Bfl        bf;
    
    } LHK_AEMFRVDD;
    

Fields:

      Brief:  "ADC status bits"

      Instance(s):  stat

      A 4 bit value representing an ADC read/evaluation status.

      Attribute(s):  

      Brief:  "ADC raw value"

      Instance(s):  val

      A 12 bit raw ADC value.

Same as:

Used by: