HALDLS
haldls::vx::HighspeedLinkNotification Class Reference

Highspeed-Link notification from chip. More...

#include <event.h>

Public Member Functions

 HighspeedLinkNotification ()=default
 Default constructor. More...
 
 HighspeedLinkNotification (fisch::vx::HighspeedLinkNotification const &data) SYMBOL_VISIBLE
 Construct a HighspeedLinkNotification from the data representation. More...
 
bool get_check_error () const SYMBOL_VISIBLE
 Get if check error occured. More...
 
bool get_crc_error () const SYMBOL_VISIBLE
 Get if crc error occured. More...
 
bool get_crc_recover () const SYMBOL_VISIBLE
 Get if crc is recovered. More...
 
bool get_decode_error () const SYMBOL_VISIBLE
 Get if decode error occured. More...
 
FPGATime get_fpga_time () const SYMBOL_VISIBLE
 Get FPGA time. More...
 
bool get_link_up () const SYMBOL_VISIBLE
 Get if link is up. More...
 
halco::hicann_dls::vx::PhyStatusOnFPGA get_phy () const SYMBOL_VISIBLE
 Get sample value. More...
 
bool operator!= (HighspeedLinkNotification const &other) const SYMBOL_VISIBLE
 
bool operator== (HighspeedLinkNotification const &other) const SYMBOL_VISIBLE
 
void set_check_error (bool value) SYMBOL_VISIBLE
 Set if check error occured. More...
 
void set_crc_error (bool value) SYMBOL_VISIBLE
 Set if crc error occured. More...
 
void set_crc_recover (bool value) SYMBOL_VISIBLE
 Set if crc is recovered. More...
 
void set_decode_error (bool value) SYMBOL_VISIBLE
 Set if decode error occured. More...
 
void set_fpga_time (FPGATime value) SYMBOL_VISIBLE
 Set FPGA time. More...
 
void set_link_up (bool value) SYMBOL_VISIBLE
 Set if link is up. More...
 
void set_phy (halco::hicann_dls::vx::PhyStatusOnFPGA value) SYMBOL_VISIBLE
 Set sample value. More...
 

Friends

class cereal::access
 
std::ostream & operator<< (std::ostream &os, HighspeedLinkNotification const &sample) SYMBOL_VISIBLE
 

Detailed Description

Highspeed-Link notification from chip.

Definition at line 381 of file event.h.

Constructor & Destructor Documentation

◆ HighspeedLinkNotification() [1/2]

haldls::vx::HighspeedLinkNotification::HighspeedLinkNotification ( )
default

Default constructor.

◆ HighspeedLinkNotification() [2/2]

haldls::vx::HighspeedLinkNotification::HighspeedLinkNotification ( fisch::vx::HighspeedLinkNotification const &  data)

Construct a HighspeedLinkNotification from the data representation.

Parameters
dataData to use

Member Function Documentation

◆ get_check_error()

bool haldls::vx::HighspeedLinkNotification::get_check_error ( ) const

Get if check error occured.

Returns
Boolean value

◆ get_crc_error()

bool haldls::vx::HighspeedLinkNotification::get_crc_error ( ) const

Get if crc error occured.

Returns
Boolean value

◆ get_crc_recover()

bool haldls::vx::HighspeedLinkNotification::get_crc_recover ( ) const

Get if crc is recovered.

Returns
Boolean value

◆ get_decode_error()

bool haldls::vx::HighspeedLinkNotification::get_decode_error ( ) const

Get if decode error occured.

Returns
Boolean value

◆ get_fpga_time()

FPGATime haldls::vx::HighspeedLinkNotification::get_fpga_time ( ) const

Get FPGA time.

Returns
FPGATime value

◆ get_link_up()

bool haldls::vx::HighspeedLinkNotification::get_link_up ( ) const

Get if link is up.

Returns
Boolean value

◆ get_phy()

halco::hicann_dls::vx::PhyStatusOnFPGA haldls::vx::HighspeedLinkNotification::get_phy ( ) const

Get sample value.

Returns
Value value

◆ operator!=()

bool haldls::vx::HighspeedLinkNotification::operator!= ( HighspeedLinkNotification const &  other) const

◆ operator==()

bool haldls::vx::HighspeedLinkNotification::operator== ( HighspeedLinkNotification const &  other) const

◆ set_check_error()

void haldls::vx::HighspeedLinkNotification::set_check_error ( bool  value)

Set if check error occured.

Parameters
valueBoolean value to set

◆ set_crc_error()

void haldls::vx::HighspeedLinkNotification::set_crc_error ( bool  value)

Set if crc error occured.

Parameters
valueBoolean value to set

◆ set_crc_recover()

void haldls::vx::HighspeedLinkNotification::set_crc_recover ( bool  value)

Set if crc is recovered.

Parameters
valueBoolean value to set

◆ set_decode_error()

void haldls::vx::HighspeedLinkNotification::set_decode_error ( bool  value)

Set if decode error occured.

Parameters
valueBoolean value to set

◆ set_fpga_time()

void haldls::vx::HighspeedLinkNotification::set_fpga_time ( FPGATime  value)

Set FPGA time.

Parameters
valueFPGATime value to set

◆ set_link_up()

void haldls::vx::HighspeedLinkNotification::set_link_up ( bool  value)

Set if link is up.

Parameters
valueBoolean value to set

◆ set_phy()

void haldls::vx::HighspeedLinkNotification::set_phy ( halco::hicann_dls::vx::PhyStatusOnFPGA  value)

Set sample value.

Parameters
valueValue sample value to set

Friends And Related Function Documentation

◆ cereal::access

friend class cereal::access
friend

Definition at line 499 of file event.h.

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
HighspeedLinkNotification const &  sample 
)
friend

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