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

TGBMCONFIGBF gbm_config - Telemetry Bitfield


"GBM Interface Configuration Bitfield" (APP/LIM)

View Options: (help)

Ancestry:

    0x000 pkt State
    0x024 bf TGBMCONFIGBF gbm_config

Definition:

    Alignment:1-byte boundary
    APID:783/0x30F
    Attribute(s):
    C type:unsigned char
    Length: 8 bits (1 byte)
    Offset:0x024

Description:

    Bitfield containing the current configuration of the GBM interface.

Layout: (hide detail; help)

    Start Stop Size Item Type and Name
    0 4 5 TPAD5 pad
    5 5 1 TALLOWED pri_int_allowed
    6 6 1 TALLOWED red_int_allowed
    7 7 1 TALLOWED rep_req_allowed
    TGBMCONFIGBF (bf)
    |  TPAD5 pad (0-4)
    |  TALLOWED pri_int_allowed (5) ... rep_req_allowed (7)
    

    typedef struct _LIM_TGBMCONFIGBF_Bfl {
    
        #if ENDIANNESS_IS_BIG
    
        /* 5-Bit Padding */
        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;
    
        /* 5-Bit Padding */
        unsigned char        pad:5;
    
        #else
    
        #error _FILE_ ENDIANNESS NOT DEFINED
    
        #endif
    
    } __attribute__((packed)) LIM_TGBMCONFIGBF_Bfl;
    
    typedef union _LIM_TGBMCONFIGBF {
    
        /* underlying unsigned char */
        unsigned char                   uc;
    
        /* struct mapped bitfield */
        struct _LIM_TGBMCONFIGBF_Bfl    bf;
    
    } LIM_TGBMCONFIGBF;
    

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:  "5-Bit Padding"

      Instance(s):  pad

      Explicit padding of 5 bits.