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

CIDBF - Telecommand Bitfield


"LAT Unit and Transaction ID Bitfield" (SVC/MEM)

View Options: (help)

Definition:

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

Description:

    Bitfield to contain the LAT unit that is the target of a MEM telecommand and the transaction ID for the MEM telecommand.

Layout: (hide detail; help)

    Start Stop Size Item Type and Name

    typedef struct _MEM_CIDBF_Bfl {
    
        #if ENDIANNESS_IS_BIG
    
        /* Target LAT Unit */
        unsigned short       latUnit:4;
    
        /* Transaction ID */
        unsigned short       tranID:12;
    
        #elif ENDIANNESS_IS_LITTLE
    
        /* Transaction ID */
        unsigned short       tranID:12;
    
        /* Target LAT Unit */
        unsigned short       latUnit:4;
    
        #else
    
        #error _FILE_ ENDIANNESS NOT DEFINED
    
        #endif
    
    } __attribute__((packed)) MEM_CIDBF_Bfl;
    
    typedef union _MEM_CIDBF {
    
        /* underlying unsigned short */
        unsigned short                  us;
    
        /* struct mapped bitfield */
        struct _MEM_CIDBF_Bfl           bf;
    
    } MEM_CIDBF;
    

Used by: