HALDLS
|
CADC container of four CADC samples. More...
#include <cadc.h>
Classes | |
struct | Value |
CADC measurement value (offset-corrected, see CADCChannelConfig). More... | |
Public Types | |
typedef halco::hicann_dls::vx::CADCSampleQuadOnDLS | coordinate_type |
typedef std::true_type | is_leaf_node |
Public Member Functions | |
CADCSampleQuad () SYMBOL_VISIBLE | |
Default constructor. More... | |
void | decode (std::array< fisch::vx::word_access_type::Omnibus, read_config_size_in_words > const &data) SYMBOL_VISIBLE |
std::array< fisch::vx::word_access_type::Omnibus, write_config_size_in_words > | encode () const SYMBOL_VISIBLE |
Value | get_sample (halco::hicann_dls::vx::EntryOnQuad const &coord) const SYMBOL_VISIBLE |
Get sample value. More... | |
bool | operator!= (CADCSampleQuad const &other) const SYMBOL_VISIBLE |
bool | operator== (CADCSampleQuad const &other) const SYMBOL_VISIBLE |
void | set_sample (halco::hicann_dls::vx::EntryOnQuad const &coord, Value value) SYMBOL_VISIBLE |
Set sample value. More... | |
Static Public Member Functions | |
static std::array< halco::hicann_dls::vx::OmnibusAddress, read_config_size_in_words > | read_addresses (coordinate_type const &word) SYMBOL_VISIBLE |
static std::array< halco::hicann_dls::vx::OmnibusAddress, write_config_size_in_words > | write_addresses (coordinate_type const &word) SYMBOL_VISIBLE |
Static Public Attributes | |
static constexpr size_t | read_config_size_in_words = 1 |
static constexpr size_t | write_config_size_in_words = 0 |
Protected Member Functions | |
template<typename Archive > | |
void | serialize (Archive &ar, std::uint32_t const version) SYMBOL_VISIBLE |
Protected Attributes | |
halco::common::typed_array< Value, halco::hicann_dls::vx::EntryOnQuad > | m_samples |
Friends | |
class | cereal::access |
std::ostream & | operator<< (std::ostream &os, CADCSampleQuad const &config) SYMBOL_VISIBLE |
typedef halco::hicann_dls::vx::CADCSampleQuadOnDLS haldls::vx::CADCSampleQuad::coordinate_type |
typedef std::true_type haldls::vx::CADCSampleQuad::is_leaf_node |
haldls::vx::CADCSampleQuad::CADCSampleQuad | ( | ) |
Default constructor.
void haldls::vx::CADCSampleQuad::decode | ( | std::array< fisch::vx::word_access_type::Omnibus, read_config_size_in_words > const & | data | ) |
std::array<fisch::vx::word_access_type::Omnibus, write_config_size_in_words> haldls::vx::CADCSampleQuad::encode | ( | ) | const |
Value haldls::vx::CADCSampleQuad::get_sample | ( | halco::hicann_dls::vx::EntryOnQuad const & | coord | ) | const |
bool haldls::vx::CADCSampleQuad::operator!= | ( | CADCSampleQuad const & | other | ) | const |
bool haldls::vx::CADCSampleQuad::operator== | ( | CADCSampleQuad const & | other | ) | const |
|
static |
|
protected |
void haldls::vx::CADCSampleQuad::set_sample | ( | halco::hicann_dls::vx::EntryOnQuad const & | coord, |
Value | value | ||
) |
Set sample value.
coord | Sample on quad coordinate |
value | Value value |
|
static |
|
friend |
|
protected |
|
staticconstexpr |
|
staticconstexpr |