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

GBMCONFIGBF - Telemetry Bitfield


"GBM Interface Configuration Bitfield" (APP/LHK)

View Options: (help)

Definition:

    Alignment:1-byte boundary
    APID:689/0x2B1
    Attribute(s):
    C type:unsigned char
    Length: 8 bits (1 byte)

Description:

    Bitfield containing the current configuration of the GBM interface.

Layout: (hide detail; help)

    Start Stop Size Item Type and Name
    0 4 5 Paduc5 pad
    5 5 1 ALLOWED pri_int_allowed
    6 6 1 ALLOWED red_int_allowed
    7 7 1 ALLOWED rep_req_allowed
    GBMCONFIGBF (bf)
    |  Paduc5 pad (0-4)
    |  ALLOWED pri_int_allowed (5) ... rep_req_allowed (7)
    

    typedef struct _LHK_GBMCONFIGBF_Bfl {
    
        #if ENDIANNESS_IS_BIG
    
        /* Explicit 5 bit pad in unsigned char */
        unsigned char        pad:5;
    
        /* Allowed Status */
        unsigned char        pri_int_allowed:1;
    
        /* Allowed Status */
        unsigned char        red_int_allowed:1;
    
        /* Allowed Status */
        unsigned char        rep_req_allowed:1;
    
        #elif ENDIANNESS_IS_LITTLE
    
        /* Allowed Status */
        unsigned char        rep_req_allowed:1;
    
        /* Allowed Status */
        unsigned char        red_int_allowed:1;
    
        /* Allowed Status */
        unsigned char        pri_int_allowed:1;
    
        /* Explicit 5 bit pad in unsigned char */
        unsigned char        pad:5;
    
        #else
    
        #error _FILE_ ENDIANNESS NOT DEFINED
    
        #endif
    
    } __attribute__((packed)) LHK_GBMCONFIGBF_Bfl;
    
    typedef union _LHK_GBMCONFIGBF {
    
        /* underlying unsigned char */
        unsigned char                   uc;
    
        /* struct mapped bitfield */
        struct _LHK_GBMCONFIGBF_Bfl     bf;
    
    } LHK_GBMCONFIGBF;
    

Fields:

      Attribute(s):  

      Brief:  "Allowed Status"

      Instance(s):  pri_int_allowed, red_int_allowed, rep_req_allowed

      Flag to indicate if an action is allowed.

      Attribute(s):  

      Brief:  "Explicit 5 bit pad in unsigned char"

      Instance(s):  pad

      Explicit 5 bit pad in unsigned char

Used by: