lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
Loading...
Searching...
No Matches
Pds::Xpm::LinkStatus Class Reference

Status of one link, as returned by Module::linkStatus(). More...

#include <Module.hh>

Public Member Functions

 LinkStatus ()
 Zero all flags and counters except remoteLinkId, which is left unset.
 

Public Attributes

bool txResetDone
 Link status bit 16 (transmit reset done, per the header comment).
 
bool txReady
 Link status bit 17 (transmit ready).
 
bool rxResetDone
 Link status bit 18 (receive reset done).
 
bool rxReady
 Link status bit 19 (receive ready).
 
bool isXpm
 Link status bit 20 (remote side is an XPM).
 
uint32_t rxRcvs
 Value of _dsLinkRcvs; set to all ones for link 16.
 
uint16_t rxErrs
 Link status bits 15-0 (receive error count); set to all ones for link 16.
 
uint32_t remoteLinkId
 Value of _remoteLinkId.
 

Detailed Description

Status of one link, as returned by Module::linkStatus().

Constructor & Destructor Documentation

◆ LinkStatus()

Pds::Xpm::LinkStatus::LinkStatus ( )

Zero all flags and counters except remoteLinkId, which is left unset.

Member Data Documentation

◆ isXpm

bool Pds::Xpm::LinkStatus::isXpm

Link status bit 20 (remote side is an XPM).

◆ remoteLinkId

uint32_t Pds::Xpm::LinkStatus::remoteLinkId

Value of _remoteLinkId.

◆ rxErrs

uint16_t Pds::Xpm::LinkStatus::rxErrs

Link status bits 15-0 (receive error count); set to all ones for link 16.

◆ rxRcvs

uint32_t Pds::Xpm::LinkStatus::rxRcvs

Value of _dsLinkRcvs; set to all ones for link 16.

◆ rxReady

bool Pds::Xpm::LinkStatus::rxReady

Link status bit 19 (receive ready).

◆ rxResetDone

bool Pds::Xpm::LinkStatus::rxResetDone

Link status bit 18 (receive reset done).

◆ txReady

bool Pds::Xpm::LinkStatus::txReady

Link status bit 17 (transmit ready).

◆ txResetDone

bool Pds::Xpm::LinkStatus::txResetDone

Link status bit 16 (transmit reset done, per the header comment).


The documentation for this class was generated from the following file: