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

PDUEPUPWR epupwr - Telemetry Bitfield


"PDU EPU crate power state register" (APP/LHK)

View Options: (help)

Ancestry:

    0x000 pkt PduEnv4
    0x016 bf PDUEPUPWR epupwr

Definition:

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

Description:

    Contains the state of the EPU power switches in the PDU.

Layout: (hide detail; help)

    Start Stop Size Item Type and Name
    0 12 13 Padus13 spare0
    13 13 1 switch epu2pwr
    14 14 1 switch epu1pwr
    15 15 1 switch epu0pwr
    PDUEPUPWR (bf)
    |  Padus13 spare0 (0-12)
    |  switch epu2pwr (13) ... epu0pwr (15)
    

    typedef struct _LHK_PDUEPUPWR_Bfl {
    
        #if ENDIANNESS_IS_BIG
    
        /* Explicit 13 bit pad in unsigned short */
        unsigned short       spare0:13;
    
        /* A switch (usually a power switch) */
        unsigned short       epu2pwr:1;
    
        /* A switch (usually a power switch) */
        unsigned short       epu1pwr:1;
    
        /* A switch (usually a power switch) */
        unsigned short       epu0pwr:1;
    
        #elif ENDIANNESS_IS_LITTLE
    
        /* A switch (usually a power switch) */
        unsigned short       epu0pwr:1;
    
        /* A switch (usually a power switch) */
        unsigned short       epu1pwr:1;
    
        /* A switch (usually a power switch) */
        unsigned short       epu2pwr:1;
    
        /* Explicit 13 bit pad in unsigned short */
        unsigned short       spare0:13;
    
        #else
    
        #error _FILE_ ENDIANNESS NOT DEFINED
    
        #endif
    
    } __attribute__((packed)) LHK_PDUEPUPWR_Bfl;
    
    typedef union _LHK_PDUEPUPWR {
    
        /* underlying unsigned short */
        unsigned short                  us;
    
        /* struct mapped bitfield */
        struct _LHK_PDUEPUPWR_Bfl       bf;
    
    } LHK_PDUEPUPWR;
    

Fields:

      Attribute(s):  

      Brief:  "Explicit 13 bit pad in unsigned short"

      Instance(s):  spare0

      Explicit 13 bit pad in unsigned short

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

      Instance(s):  epu0pwr, epu1pwr, epu2pwr

      A switch (usually a power switch)