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

ConfigCRU - Telemetry Bitfield


"Configuration bits read from the CRU" (APP/LHK)

View Options: (help)

Definition:

    Alignment:2-byte boundary
    APID:691/0x2B3
    Attribute(s):
    C type:char
    Length: 8 bits (1 byte)

Description:

    Configuration bits read from the CRU

Layout: (hide detail; help)

    ConfigCRU (bf)
    |  Paduc5 spare (0-4)
    |  select gbm (5) ... pps (6)
    |  switch internal_pps (7)
    

    typedef struct _LHK_ConfigCRU_Bfl {
    
        #if ENDIANNESS_IS_BIG
    
        /* Explicit 5 bit pad in unsigned char */
        char                 spare:5;
    
        /* Primary/redundant selector */
        char                 gbm:1;
    
        /* Primary/redundant selector */
        char                 pps:1;
    
        /* A switch (usually a power switch) */
        char                 internal_pps:1;
    
        #elif ENDIANNESS_IS_LITTLE
    
        /* A switch (usually a power switch) */
        char                 internal_pps:1;
    
        /* Primary/redundant selector */
        char                 pps:1;
    
        /* Primary/redundant selector */
        char                 gbm:1;
    
        /* Explicit 5 bit pad in unsigned char */
        char                 spare:5;
    
        #else
    
        #error _FILE_ ENDIANNESS NOT DEFINED
    
        #endif
    
    } __attribute__((packed)) LHK_ConfigCRU_Bfl;
    
    typedef union _LHK_ConfigCRU {
    
        /* underlying char */
        char                            ui;
    
        /* struct mapped bitfield */
        struct _LHK_ConfigCRU_Bfl       bf;
    
    } LHK_ConfigCRU;
    

Fields:

      Attribute(s):  

      Brief:  "Explicit 5 bit pad in unsigned char"

      Instance(s):  spare

      Explicit 5 bit pad in unsigned char

      Brief:  "Primary/redundant selector"

      Instance(s):  gbm, pps

      Primary/redundant selector

      Attribute(s):  

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

      Instance(s):  internal_pps

      A switch (usually a power switch)

Used by: