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

ACDPWRREG acdpwr - Telemetry Bitfield


"PDU ADC Power Management Register" (APP/LHK)

View Options: (help)

Ancestry:

    0x000 pkt PduEnv4
    0x018 bf ACDPWRREG acdpwr

Definition:

    Alignment:2-byte boundary
    APID:546/0x222
    Attribute(s):
    C type:unsigned short
    Length: 16 bits (2 bytes)
    Offset:0x018

Description:

Layout: (hide detail; help)

    typedef struct _LHK_ACDPWRREG_Bfl {
    
        #if ENDIANNESS_IS_BIG
    
        /* Spare 13 bit field */
        unsigned short       spare:13;
    
        /* PDU ACD Power Converter Source */
        unsigned short       cnvt:1;
    
        /* PDU ACD Power Supply Source */
        unsigned short       sup:1;
    
        /* PDU ACD Power State */
        unsigned short       acd:1;
    
        #elif ENDIANNESS_IS_LITTLE
    
        /* PDU ACD Power State */
        unsigned short       acd:1;
    
        /* PDU ACD Power Supply Source */
        unsigned short       sup:1;
    
        /* PDU ACD Power Converter Source */
        unsigned short       cnvt:1;
    
        /* Spare 13 bit field */
        unsigned short       spare:13;
    
        #else
    
        #error _FILE_ ENDIANNESS NOT DEFINED
    
        #endif
    
    } __attribute__((packed)) LHK_ACDPWRREG_Bfl;
    
    typedef union _LHK_ACDPWRREG {
    
        /* underlying unsigned short */
        unsigned short                  us;
    
        /* struct mapped bitfield */
        struct _LHK_ACDPWRREG_Bfl       bf;
    
    } LHK_ACDPWRREG;
    

Fields:

      Brief:  "PDU ACD Power Converter Source"

      Instance(s):  cnvt

      Brief:  "PDU ACD Power State"

      Instance(s):  acd

      Brief:  "PDU ACD Power Supply Source"

      Instance(s):  sup

      Attribute(s):  

      Brief:  "Spare 13 bit field"

      Instance(s):  spare

      Spare 13 bits