|
lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
|
#include <Client.hh>
Public Types | |
| enum | ModeSel { ClkSel , Lcls1Proto , Lcls2Proto } |
| enum | Polarity { Falling =0 , Rising =1 } |
Public Member Functions | |
| Client (const char *devname, unsigned channel=0, bool clksel=true, ModeSel modsel=ClkSel) | |
| ~Client () | |
| void | setup (unsigned output, unsigned delay, unsigned width, unsigned polarity=Rising, unsigned delaytap=0) |
| void | loopOut (bool enable) |
| void | start (TprBase::FixedRate rate=TprBase::FixedRate::_1M) |
| void | start (TprBase::ACRate rate, unsigned timeSlotMask) |
| void | start (TprBase::EventCode evcode) |
| void | start (TprBase::Partition partition) |
| void | stop () |
| void | release () |
| const Pds::Tpr::Frame * | advance (uint64_t pulseId) |
| const Pds::Tpr::Frame * | advance () |
| const Pds::Tpr::TprReg & | reg () const |
| Pds::Tpr::Client::Client | ( | const char * | devname, |
| unsigned | channel = 0, |
||
| bool | clksel = true, |
||
| ModeSel | modsel = ClkSel |
||
| ) |
| Pds::Tpr::Client::~Client | ( | ) |
| const Pds::Tpr::Frame * Pds::Tpr::Client::advance | ( | ) |
| const Pds::Tpr::Frame * Pds::Tpr::Client::advance | ( | uint64_t | pulseId | ) |
| void Pds::Tpr::Client::loopOut | ( | bool | enable | ) |
|
inline |
| void Pds::Tpr::Client::release | ( | ) |
| void Pds::Tpr::Client::setup | ( | unsigned | output, |
| unsigned | delay, | ||
| unsigned | width, | ||
| unsigned | polarity = Rising, |
||
| unsigned | delaytap = 0 |
||
| ) |
| void Pds::Tpr::Client::start | ( | TprBase::ACRate | rate, |
| unsigned | timeSlotMask | ||
| ) |
| void Pds::Tpr::Client::start | ( | TprBase::EventCode | evcode | ) |
| void Pds::Tpr::Client::start | ( | TprBase::FixedRate | rate = TprBase::FixedRate::_1M | ) |
| void Pds::Tpr::Client::start | ( | TprBase::Partition | partition | ) |
| void Pds::Tpr::Client::stop | ( | ) |