HALDLS
|
CADC container with channel-local digital offset config. More...
#include <cadc.h>
Classes | |
struct | Offset |
Offset value to add to measurement. More... | |
Public Types | |
typedef halco::hicann_dls::vx::CADCChannelConfigOnDLS | coordinate_type |
typedef std::true_type | is_leaf_node |
Public Member Functions | |
CADCChannelConfig () | |
Default constructor. More... | |
template<typename WordT > | |
void | decode (std::array< WordT, config_size_in_words > const &data) |
template<typename WordT > | |
std::array< WordT, config_size_in_words > | encode () const |
Offset | get_offset () const |
Get Offset value. More... | |
bool | operator!= (CADCChannelConfig const &other) const |
bool | operator== (CADCChannelConfig const &other) const |
void | set_offset (Offset value) |
Set Offset value. More... | |
Static Public Member Functions | |
template<typename AddressT > | |
static std::array< AddressT, config_size_in_words > | addresses (coordinate_type const &word) |
Static Public Attributes | |
static constexpr size_t | config_size_in_words = 1 |
constexpr static auto | unsupported_read_targets |
Protected Member Functions | |
template<typename Archive > | |
void | serialize (Archive &ar, std::uint32_t const version) |
Protected Attributes | |
Offset | m_offset |
Friends | |
class | cereal::access |
std::ostream & | operator<< (std::ostream &os, CADCChannelConfig const &config) |
typedef halco::hicann_dls::vx::CADCChannelConfigOnDLS haldls::vx::CADCChannelConfig::coordinate_type |
typedef std::true_type haldls::vx::CADCChannelConfig::is_leaf_node |
haldls::vx::CADCChannelConfig::CADCChannelConfig | ( | ) |
Default constructor.
|
static |
void haldls::vx::CADCChannelConfig::decode | ( | std::array< WordT, config_size_in_words > const & | data | ) |
std::array<WordT, config_size_in_words> haldls::vx::CADCChannelConfig::encode | ( | ) | const |
bool haldls::vx::CADCChannelConfig::operator!= | ( | CADCChannelConfig const & | other | ) | const |
bool haldls::vx::CADCChannelConfig::operator== | ( | CADCChannelConfig const & | other | ) | const |
|
protected |
void haldls::vx::CADCChannelConfig::set_offset | ( | Offset | value | ) |
|
friend |
|
staticconstexpr |
|
staticconstexpr |