HALDLS
|
CADC container with global digital config for a vertical half. More...
#include <cadc.h>
Classes | |
struct | DeadTime |
Dead time in cycles after linear ramp increase to wait for signal propagation to every channel to prevent cutting off leaf channel ramps too early. More... | |
struct | ResetWait |
Wait time in cycles after ramp drop to compensate for analog low-pass filtering of ramp signal and preventing the drop of the last ramp to cause interference in the next linear ramp increase. More... | |
Public Types | |
typedef halco::hicann_dls::vx::CADCConfigOnDLS | coordinate_type |
typedef std::true_type | is_leaf_node |
Public Member Functions | |
CADCConfig () SYMBOL_VISIBLE | |
Default constructor. More... | |
template<typename WordT > | |
void | decode (std::array< WordT, config_size_in_words > const &data) SYMBOL_VISIBLE |
template<typename WordT > | |
std::array< WordT, config_size_in_words > | encode () const SYMBOL_VISIBLE |
DeadTime | get_dead_time () const SYMBOL_VISIBLE |
Get DeadTime value common for both CADC in a vertical half. More... | |
bool | get_enable () const SYMBOL_VISIBLE |
Get enable value for the CADC. More... | |
ResetWait | get_reset_wait () const SYMBOL_VISIBLE |
Get ResetWait value common for both CADC in a vertical half. More... | |
bool | operator!= (CADCConfig const &other) const SYMBOL_VISIBLE |
bool | operator== (CADCConfig const &other) const SYMBOL_VISIBLE |
void | set_dead_time (DeadTime value) SYMBOL_VISIBLE |
Set DeadTime value common for both CADC in a vertical half. More... | |
void | set_enable (bool value) SYMBOL_VISIBLE |
Set enable value for the CADC. More... | |
void | set_reset_wait (ResetWait value) SYMBOL_VISIBLE |
Set ResetWait value common for both CADC in a vertical half. More... | |
Static Public Member Functions | |
template<typename AddressT > | |
static std::array< AddressT, config_size_in_words > | addresses (coordinate_type const &word) SYMBOL_VISIBLE |
Static Public Attributes | |
static constexpr size_t | config_size_in_words = 1 |
Protected Member Functions | |
template<typename Archive > | |
void | serialize (Archive &ar, std::uint32_t const version) SYMBOL_VISIBLE |
Protected Attributes | |
DeadTime | m_dead_time |
bool | m_enable |
ResetWait | m_reset_wait |
Friends | |
class | cereal::access |
std::ostream & | operator<< (std::ostream &os, CADCConfig const &config) SYMBOL_VISIBLE |
CADC container with global digital config for a vertical half.
typedef halco::hicann_dls::vx::CADCConfigOnDLS haldls::vx::CADCConfig::coordinate_type |
typedef std::true_type haldls::vx::CADCConfig::is_leaf_node |
haldls::vx::CADCConfig::CADCConfig | ( | ) |
Default constructor.
|
static |
void haldls::vx::CADCConfig::decode | ( | std::array< WordT, config_size_in_words > const & | data | ) |
std::array<WordT, config_size_in_words> haldls::vx::CADCConfig::encode | ( | ) | const |
DeadTime haldls::vx::CADCConfig::get_dead_time | ( | ) | const |
bool haldls::vx::CADCConfig::get_enable | ( | ) | const |
Get enable value for the CADC.
ResetWait haldls::vx::CADCConfig::get_reset_wait | ( | ) | const |
bool haldls::vx::CADCConfig::operator!= | ( | CADCConfig const & | other | ) | const |
bool haldls::vx::CADCConfig::operator== | ( | CADCConfig const & | other | ) | const |
|
protected |
void haldls::vx::CADCConfig::set_dead_time | ( | DeadTime | value | ) |
void haldls::vx::CADCConfig::set_enable | ( | bool | value | ) |
Set enable value for the CADC.
value | Boolean value |
void haldls::vx::CADCConfig::set_reset_wait | ( | ResetWait | value | ) |
|
friend |
|
staticconstexpr |