Changeset 10783


Ignore:
Timestamp:
May 23, 2011, 3:06:23 PM (8 years ago)
Author:
tbretz
Message:
Moved soem decoding from print to header; commented obsolete Dim stuff.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/HeadersFAD.h

    r10766 r10783  
    192192        bool HasSpiSclk() const        { return fStatus&kSpiSclk; }
    193193
     194        uint16_t Crate() const { return fBoardId>>8; }
     195        uint16_t Board() const { return fBoardId&0xff; }
     196
    194197        void clear() { reset(*this); }
    195198        void print(std::ostream &out) const;
     
    215218        void print(std::ostream &out) const;
    216219
     220        uint16_t Chip() const    { return fId>>4; }
     221        uint16_t Channel() const { return fId&0xf; }
     222
    217223    } __attribute__((__packed__));
    218224
     
    220226    //   0x4242
    221227    //   0x04fe
    222 
     228/*
    223229    struct DimPassport
    224230    {
     
    309315
    310316    }  __attribute__((__packed__));
    311 
     317*/
    312318    // --------------------------------------------------------------------
    313319
Note: See TracChangeset for help on using the changeset viewer.