Changeset 11156 for trunk/FACT++/src/HeadersFAD.h
- Timestamp:
- 06/23/11 22:11:25 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/HeadersFAD.h
r11154 r11156 25 25 kCmdContTriggerOff = 0x2000, 26 26 kCmdRun = 0x2200, // CMD_Start/Stop 27 kCmdBusy = 0x2400, // 27 28 kCmdResetTriggerId = 0x2A00, // 28 29 kCmdSocket = 0x3000, // CMD_mode_command/CMD_mode_all_sockets … … 100 101 kDenable = 1<<11, 101 102 kDwrite = 1<<10, 102 kRefClkTooHigh = 1<< 9,103 //kRefClkTooHigh = 1<< 9, 103 104 kRefClkTooLow = 1<< 8, 104 105 kDcmLocked = 1<< 7, 105 106 kDcmReady = 1<< 6, 106 107 kSpiSclk = 1<< 5, 108 kBusy = 1<< 4, // Busy enabled 109 kTriggerLine = 1<< 3, // Trigger line enabled 110 kContTrigger = 1<< 2, // Cont trigger enabled 111 kSock17 = 1<< 1, // Socket 1-7 for data transfer 107 112 }; 108 113 #endif … … 249 254 bool HasDenable() const { return fStatus&kDenable; } 250 255 bool HasDwrite() const { return fStatus&kDwrite; } 251 bool IsRefClockTooHigh() const { return fStatus&kRefClkTooHigh; }256 // bool IsRefClockTooHigh() const { return fStatus&kRefClkTooHigh; } 252 257 bool IsRefClockTooLow() const { return fStatus&kRefClkTooLow; } 253 258 bool IsDcmLocked() const { return fStatus&kDcmLocked; } 254 259 bool IsDcmReady() const { return fStatus&kDcmReady; } 255 260 bool HasSpiSclk() const { return fStatus&kSpiSclk; } 261 bool HasBusy() const { return fStatus&kBusy; } 262 bool HasTriggerEnabled() const { return fStatus&kTriggerLine; } 263 bool HasContTriggerEnabled() const { return fStatus&kContTrigger; } 264 bool IsInSock17Mode() const { return fStatus&kSock17; } 256 265 257 266 uint16_t Crate() const { return fBoardId>>8; }
Note:
See TracChangeset
for help on using the changeset viewer.