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

EBMfrontBConfig - Telemetry Bitfield


"Contents of the EBM front-end B configuration register" (APP/LHK)

View Options: (help)

Definition:

    Alignment:4-byte boundary
    APID:692/0x2B4
    Attribute(s):
    C type:unsigned int
    Length: 32 bits (4 bytes)

Description:

    Contents of the EBM front-end B configuration register

Layout: (hide detail; help)

    Start Stop Size Item Type and Name
    0 0 1 status status
    1 7 7 Padui7 spare0
    8 15 8 uc version
    16 23 8 Padui8 spare1
    24 31 8 uc reloc
    EBMfrontBConfig (bf)
    |  status status (0)
    |  Padui7 spare0 (1-7)
    |  uc version (8-15)
    |  Padui8 spare1 (16-23)
    |  uc reloc (24-31)
    

    typedef struct _LHK_EBMfrontBConfig_Bfl {
    
        #if ENDIANNESS_IS_BIG
    
        /* Readout status (ADC or switch) */
        unsigned int         status:1;
    
        /* Explicit 7 bit pad in unsigned int */
        unsigned int         spare0:7;
    
        /* Unsigned char */
        unsigned int         version:8;
    
        /* Explicit 8 bit pad in unsigned int */
        unsigned int         spare1:8;
    
        /* Unsigned char */
        unsigned int         reloc:8;
    
        #elif ENDIANNESS_IS_LITTLE
    
        /* Unsigned char */
        unsigned int         reloc:8;
    
        /* Explicit 8 bit pad in unsigned int */
        unsigned int         spare1:8;
    
        /* Unsigned char */
        unsigned int         version:8;
    
        /* Explicit 7 bit pad in unsigned int */
        unsigned int         spare0:7;
    
        /* Readout status (ADC or switch) */
        unsigned int         status:1;
    
        #else
    
        #error _FILE_ ENDIANNESS NOT DEFINED
    
        #endif
    
    } __attribute__((packed)) LHK_EBMfrontBConfig_Bfl;
    
    typedef union _LHK_EBMfrontBConfig {
    
        /* underlying unsigned int */
        unsigned int                    ui;
    
        /* struct mapped bitfield */
        struct _LHK_EBMfrontBConfig_Bfl bf;
    
    } LHK_EBMfrontBConfig;
    

Fields:

      Attribute(s):  

      Brief:  "Explicit 7 bit pad in unsigned int"

      Instance(s):  spare0

      Explicit 7 bit pad in unsigned int

      Attribute(s):  

      Brief:  "Explicit 8 bit pad in unsigned int"

      Instance(s):  spare1

      Explicit 8 bit pad in unsigned int

      Brief:  "Readout status (ADC or switch)"

      Instance(s):  status

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

      Attribute(s):  

      Brief:  "Unsigned char"

      Instance(s):  reloc, version

      Unsigned char

Used by: