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

NODETRANID flag - Telecommand Bitfield


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

View Options: (help)

Ancestry:

    0x000 pkt DirDump
    0x008 bf NODETRANID flag

Definition:

    Alignment:2-byte boundary
    APID:1608/0x648:5
    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 _LFS_NODETRANID_Bfl {
    
        #if ENDIANNESS_IS_BIG
    
        /* Computer to send the command to */
        unsigned short       nid:4;
    
        /* Transaction ID to associate with command */
        unsigned short       tranID:12;
    
        #elif ENDIANNESS_IS_LITTLE
    
        /* Transaction ID to associate with command */
        unsigned short       tranID:12;
    
        /* Computer to send the command to */
        unsigned short       nid:4;
    
        #else
    
        #error _FILE_ ENDIANNESS NOT DEFINED
    
        #endif
    
    } __attribute__((packed)) LFS_NODETRANID_Bfl;
    
    typedef union _LFS_NODETRANID {
    
        /* underlying unsigned short */
        unsigned short                  us;
    
        /* struct mapped bitfield */
        struct _LFS_NODETRANID_Bfl      bf;
    
    } LFS_NODETRANID;