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

NODETRANID flag - Telecommand Bitfield


"Compound of node and transaction ID" (APP/LSW)

View Options: (help)

Ancestry:

Definition:

    Alignment:2-byte boundary
    APID:1612/0x64C:3
    Attribute(s):
    C type:unsigned short
    Length: 16 bits (2 bytes)
    Offset:0x008

Description:

    Compound of node and transaction ID

Layout: (hide detail; help)

    Start Stop Size Item Type and Name
    NODETRANID (bf)
    |  NODE nid (0-3)
    |  TRANID tranID (4-15)
    

    typedef struct _LSW_NODETRANID_Bfl {
    
        #if ENDIANNESS_IS_BIG
    
        /* Computer to send the command to */
        unsigned short       nid:4;
    
        /* Transaction ID */
        unsigned short       tranID:12;
    
        #elif ENDIANNESS_IS_LITTLE
    
        /* Transaction ID */
        unsigned short       tranID:12;
    
        /* Computer to send the command to */
        unsigned short       nid:4;
    
        #else
    
        #error _FILE_ ENDIANNESS NOT DEFINED
    
        #endif
    
    } __attribute__((packed)) LSW_NODETRANID_Bfl;
    
    typedef union _LSW_NODETRANID {
    
        /* underlying unsigned short */
        unsigned short                  us;
    
        /* struct mapped bitfield */
        struct _LSW_NODETRANID_Bfl      bf;
    
    } LSW_NODETRANID;