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

PDUEPUCRATEPWR epupwr - Telemetry Bitfield


"PDU EPU Crate Power States" (APP/LHK)

View Options: (help)

Ancestry:

Definition:

    Alignment:2-byte boundary
    APID:638/0x27E
    Attribute(s):
    C type:unsigned short
    Length: 16 bits (2 bytes)
    Offset:0x016

Description:

Layout: (hide detail; help)

    typedef struct _LHK_PDUEPUCRATEPWR_Bfl {
    
        #if ENDIANNESS_IS_BIG
    
        /* Spare 10 bits */
        unsigned short       spare0:10;
    
        /* PDU EPU Converter State */
        unsigned short       epu2cvt:1;
    
        /* PDU EPU Converter State */
        unsigned short       epu1cvt:1;
    
        /* PDU EPU Converter State */
        unsigned short       epu0cvt:1;
    
        /* PDU EPU Crate Power State */
        unsigned short       epu2pwr:1;
    
        /* PDU EPU Crate Power State */
        unsigned short       epu1pwr:1;
    
        /* PDU EPU Crate Power State */
        unsigned short       epu0pwr:1;
    
        #elif ENDIANNESS_IS_LITTLE
    
        /* PDU EPU Crate Power State */
        unsigned short       epu0pwr:1;
    
        /* PDU EPU Crate Power State */
        unsigned short       epu1pwr:1;
    
        /* PDU EPU Crate Power State */
        unsigned short       epu2pwr:1;
    
        /* PDU EPU Converter State */
        unsigned short       epu0cvt:1;
    
        /* PDU EPU Converter State */
        unsigned short       epu1cvt:1;
    
        /* PDU EPU Converter State */
        unsigned short       epu2cvt:1;
    
        /* Spare 10 bits */
        unsigned short       spare0:10;
    
        #else
    
        #error _FILE_ ENDIANNESS NOT DEFINED
    
        #endif
    
    } __attribute__((packed)) LHK_PDUEPUCRATEPWR_Bfl;
    
    typedef union _LHK_PDUEPUCRATEPWR {
    
        /* underlying unsigned short */
        unsigned short                  us;
    
        /* struct mapped bitfield */
        struct _LHK_PDUEPUCRATEPWR_Bfl  bf;
    
    } LHK_PDUEPUCRATEPWR;
    

Fields:

      Brief:  "PDU EPU Converter State"

      Instance(s):  epu0cvt, epu1cvt, epu2cvt

      Brief:  "PDU EPU Crate Power State"

      Instance(s):  epu0pwr, epu1pwr, epu2pwr

      Attribute(s):  

      Brief:  "Spare 10 bits"

      Instance(s):  spare0