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

AEMFREEPWR - Telemetry Bitfield


"AEM FREE board power state register" (APP/LHK)

View Options: (help)

Definition:

    Alignment:2-byte boundary
    APID:646/0x286
    Attribute(s):
    C type:unsigned short
    Length: 16 bits (2 bytes)

Description:

    Contains the state of the FREE board power switches in the AEM.

Layout: (hide detail; help)

    AEMFREEPWR (bf)
    |  Paduc3 pad (0-2)
    |  status status (3)
    |  switch free11 (4) ... free0 (15)
    

    typedef struct _LHK_AEMFREEPWR_Bfl {
    
        #if ENDIANNESS_IS_BIG
    
        /* Explicit 3 bit pad in unsigned char */
        unsigned short       pad:3;
    
        /* Readout status (ADC or switch) */
        unsigned short       status:1;
    
        /* A switch (usually a power switch) */
        unsigned short       free11:1;
    
        /* A switch (usually a power switch) */
        unsigned short       free10:1;
    
        /* A switch (usually a power switch) */
        unsigned short       free9:1;
    
        /* A switch (usually a power switch) */
        unsigned short       free8:1;
    
        /* A switch (usually a power switch) */
        unsigned short       free7:1;
    
        /* A switch (usually a power switch) */
        unsigned short       free6:1;
    
        /* A switch (usually a power switch) */
        unsigned short       free5:1;
    
        /* A switch (usually a power switch) */
        unsigned short       free4:1;
    
        /* A switch (usually a power switch) */
        unsigned short       free3:1;
    
        /* A switch (usually a power switch) */
        unsigned short       free2:1;
    
        /* A switch (usually a power switch) */
        unsigned short       free1:1;
    
        /* A switch (usually a power switch) */
        unsigned short       free0:1;
    
        #elif ENDIANNESS_IS_LITTLE
    
        /* A switch (usually a power switch) */
        unsigned short       free0:1;
    
        /* A switch (usually a power switch) */
        unsigned short       free1:1;
    
        /* A switch (usually a power switch) */
        unsigned short       free2:1;
    
        /* A switch (usually a power switch) */
        unsigned short       free3:1;
    
        /* A switch (usually a power switch) */
        unsigned short       free4:1;
    
        /* A switch (usually a power switch) */
        unsigned short       free5:1;
    
        /* A switch (usually a power switch) */
        unsigned short       free6:1;
    
        /* A switch (usually a power switch) */
        unsigned short       free7:1;
    
        /* A switch (usually a power switch) */
        unsigned short       free8:1;
    
        /* A switch (usually a power switch) */
        unsigned short       free9:1;
    
        /* A switch (usually a power switch) */
        unsigned short       free10:1;
    
        /* A switch (usually a power switch) */
        unsigned short       free11:1;
    
        /* Readout status (ADC or switch) */
        unsigned short       status:1;
    
        /* Explicit 3 bit pad in unsigned char */
        unsigned short       pad:3;
    
        #else
    
        #error _FILE_ ENDIANNESS NOT DEFINED
    
        #endif
    
    } __attribute__((packed)) LHK_AEMFREEPWR_Bfl;
    
    typedef union _LHK_AEMFREEPWR {
    
        /* underlying unsigned short */
        unsigned short                  us;
    
        /* struct mapped bitfield */
        struct _LHK_AEMFREEPWR_Bfl      bf;
    
    } LHK_AEMFREEPWR;
    

Fields:

      Attribute(s):  

      Brief:  "Explicit 3 bit pad in unsigned char"

      Instance(s):  pad

      Explicit 3 bit pad in unsigned char

      Attribute(s):  

      Brief:  "Readout status (ADC or switch)"

      Instance(s):  status

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

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

      Instance(s):  free0, free1, free10, free11, free2, free3, free4, free5, free6, free7, free8, free9

      A switch (usually a power switch)

Used by: