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

PDUACDPWR acdpwr - Telemetry Bitfield


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

View Options: (help)

Ancestry:

    0x000 pkt PduEnv4
    0x018 bf PDUACDPWR 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_PDUACDPWR_Bfl {
    
        #if ENDIANNESS_IS_BIG
    
        /* Explicit 3 bit pad in unsigned short */
        unsigned short       spare0:3;
    
        /* Readout status (ADC or switch) */
        unsigned short       temread:1;
    
        /* Explicit 3 bit pad in unsigned short */
        unsigned short       spare1:3;
    
        /* Readout status (ADC or switch) */
        unsigned short       epuread:1;
    
        /* Explicit 3 bit pad in unsigned short */
        unsigned short       spare2:3;
    
        /* A switch (usually a power switch) */
        unsigned short       acdread:1;
    
        /* Explicit 2 bit pad in unsigned short */
        unsigned short       spare3:2;
    
        /* Primary/redundant selector */
        unsigned short       supply:1;
    
        /* A switch (usually a power switch) */
        unsigned short       acd:1;
    
        #elif ENDIANNESS_IS_LITTLE
    
        /* A switch (usually a power switch) */
        unsigned short       acd:1;
    
        /* Primary/redundant selector */
        unsigned short       supply:1;
    
        /* Explicit 2 bit pad in unsigned short */
        unsigned short       spare3:2;
    
        /* A switch (usually a power switch) */
        unsigned short       acdread:1;
    
        /* Explicit 3 bit pad in unsigned short */
        unsigned short       spare2:3;
    
        /* Readout status (ADC or switch) */
        unsigned short       epuread:1;
    
        /* Explicit 3 bit pad in unsigned short */
        unsigned short       spare1:3;
    
        /* Readout status (ADC or switch) */
        unsigned short       temread:1;
    
        /* Explicit 3 bit pad in unsigned short */
        unsigned short       spare0:3;
    
        #else
    
        #error _FILE_ ENDIANNESS NOT DEFINED
    
        #endif
    
    } __attribute__((packed)) LHK_PDUACDPWR_Bfl;
    
    typedef union _LHK_PDUACDPWR {
    
        /* underlying unsigned short */
        unsigned short                  us;
    
        /* struct mapped bitfield */
        struct _LHK_PDUACDPWR_Bfl       bf;
    
    } LHK_PDUACDPWR;
    

Fields:

      Attribute(s):  

      Brief:  "Explicit 2 bit pad in unsigned short"

      Instance(s):  spare3

      Explicit 2 bit pad in unsigned short

      Attribute(s):  

      Brief:  "Explicit 3 bit pad in unsigned short"

      Instance(s):  spare0, spare1, spare2

      Explicit 3 bit pad in unsigned short

      Brief:  "Primary/redundant selector"

      Instance(s):  supply

      Primary/redundant selector

      Brief:  "Readout status (ADC or switch)"

      Instance(s):  epuread, temread

      Readout status. If set, read out failed for the designated ADC/switch.

      Brief:  "A switch (usually a power switch)"

      Instance(s):  acdread

      A switch (usually a power switch)

      Brief:  "A switch (usually a power switch)"

      Instance(s):  acd

      A switch (usually a power switch)