A set of functions that can mostly be described as methods that interact with the card or device endpoint.
◆ card_model()
u_int FlxCard::card_model |
( |
| ) |
|
|
inline |
Returns the H/W type of the FLX card, read in card_open(). Currently these types are known (and supported): FLX-709, FLX-710, FLX-711, FLX-712, FLX-128, FLX-181, FLX-182, FLX-155
- Returns
- integer value of the card model, a number like 709, 712, etc.
◆ firmware_type()
u_int FlxCard::firmware_type |
( |
| ) |
|
|
inline |
Returns the firmware type of the FLX card, read in card_open().
◆ firmware_type_string()
std::string FlxCard::firmware_type_string |
( |
| ) |
|
|
inline |
Returns the firmware type of the FLX card as a (short) string.
◆ firmware_string()
std::string FlxCard::firmware_string |
( |
| ) |
|
|
inline |
Returns a descriptive name of the firmware type and version running on the FLX card.
◆ lpgbt_type()
bool FlxCard::lpgbt_type |
( |
| ) |
|
|
inline |
Returns whether the firmware type is an lpGBT-type firmware.
◆ lpgbt_fec12()
bool FlxCard::lpgbt_fec12 |
( |
| ) |
|
|
inline |
Returns whether the lpGBT-type firmware uses FEC12 (otherwise FEC5)
◆ lpgbt_5gbps()
bool FlxCard::lpgbt_5gbps |
( |
| ) |
|
|
inline |
Returns whether the lpGBT-type firmware has lpGBT at 5Gbps (default 10Gbps)
◆ fullmode_type()
bool FlxCard::fullmode_type |
( |
| ) |
|
|
inline |
Returns whether the firmware type is a FULLMODE-type firmware.
◆ soft_reset()
void FlxCard::soft_reset |
( |
| ) |
|
Triggers a reset by the SOFT_RESET register in BAR0.
◆ cr_fromhost_reset()
void FlxCard::cr_fromhost_reset |
( |
| ) |
|
Triggers a reset by the CRFROMHOST_RESET register in BAR2.
◆ number_of_channels()
u_int FlxCard::number_of_channels |
( |
| ) |
|
|
inline |
- Returns
- Number of physical links connected to the PCIe endpoint.
◆ ec_elink_indices()
std::pair< int, int > FlxCard::ec_elink_indices |
( |
| ) |
|
- Returns
- Indices of the e-link number for EC ToHost (receive) and FromHost (send).
◆ ic_elink_indices()
std::pair< int, int > FlxCard::ic_elink_indices |
( |
| ) |
|
- Returns
- Indices of the e-link number for IC ToHost (receive) and FromHost (send).