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

PDUTEMPWR tempwr - Telemetry Bitfield


"PDU TEM power state register" (APP/LHK)

View Options: (help)

Ancestry:

    0x000 pkt PduEnv0
    0x014 bf PDUTEMPWR tempwr

Definition:

    Alignment:2-byte boundary
    APID:542/0x21E
    Attribute(s):
    C type:unsigned short
    Length: 16 bits (2 bytes)
    Offset:0x014

Description:

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

Layout: (hide detail; help)

    PDUTEMPWR (bf)
    |  switch temf (0) ... tem0 (15)
    

    typedef struct _LHK_PDUTEMPWR_Bfl {
    
        #if ENDIANNESS_IS_BIG
    
        /* A switch (usually a power switch) */
        unsigned short       temf:1;
    
        /* A switch (usually a power switch) */
        unsigned short       teme:1;
    
        /* A switch (usually a power switch) */
        unsigned short       temd:1;
    
        /* A switch (usually a power switch) */
        unsigned short       temc:1;
    
        /* A switch (usually a power switch) */
        unsigned short       temb:1;
    
        /* A switch (usually a power switch) */
        unsigned short       tema:1;
    
        /* A switch (usually a power switch) */
        unsigned short       tem9:1;
    
        /* A switch (usually a power switch) */
        unsigned short       tem8:1;
    
        /* A switch (usually a power switch) */
        unsigned short       tem7:1;
    
        /* A switch (usually a power switch) */
        unsigned short       tem6:1;
    
        /* A switch (usually a power switch) */
        unsigned short       tem5:1;
    
        /* A switch (usually a power switch) */
        unsigned short       tem4:1;
    
        /* A switch (usually a power switch) */
        unsigned short       tem3:1;
    
        /* A switch (usually a power switch) */
        unsigned short       tem2:1;
    
        /* A switch (usually a power switch) */
        unsigned short       tem1:1;
    
        /* A switch (usually a power switch) */
        unsigned short       tem0:1;
    
        #elif ENDIANNESS_IS_LITTLE
    
        /* A switch (usually a power switch) */
        unsigned short       tem0:1;
    
        /* A switch (usually a power switch) */
        unsigned short       tem1:1;
    
        /* A switch (usually a power switch) */
        unsigned short       tem2:1;
    
        /* A switch (usually a power switch) */
        unsigned short       tem3:1;
    
        /* A switch (usually a power switch) */
        unsigned short       tem4:1;
    
        /* A switch (usually a power switch) */
        unsigned short       tem5:1;
    
        /* A switch (usually a power switch) */
        unsigned short       tem6:1;
    
        /* A switch (usually a power switch) */
        unsigned short       tem7:1;
    
        /* A switch (usually a power switch) */
        unsigned short       tem8:1;
    
        /* A switch (usually a power switch) */
        unsigned short       tem9:1;
    
        /* A switch (usually a power switch) */
        unsigned short       tema:1;
    
        /* A switch (usually a power switch) */
        unsigned short       temb:1;
    
        /* A switch (usually a power switch) */
        unsigned short       temc:1;
    
        /* A switch (usually a power switch) */
        unsigned short       temd:1;
    
        /* A switch (usually a power switch) */
        unsigned short       teme:1;
    
        /* A switch (usually a power switch) */
        unsigned short       temf:1;
    
        #else
    
        #error _FILE_ ENDIANNESS NOT DEFINED
    
        #endif
    
    } __attribute__((packed)) LHK_PDUTEMPWR_Bfl;
    
    typedef union _LHK_PDUTEMPWR {
    
        /* underlying unsigned short */
        unsigned short                  us;
    
        /* struct mapped bitfield */
        struct _LHK_PDUTEMPWR_Bfl       bf;
    
    } LHK_PDUTEMPWR;
    

Fields:

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

      Instance(s):  tem0, tem1, tem2, tem3, tem4, tem5, tem6, tem7, tem8, tem9, tema, temb, temc, temd, teme, temf

      A switch (usually a power switch)