HALDLS
haldls::vx::DAC6573ChannelConfig Class Reference

#include <i2c.h>

Classes

struct  Value
 

Public Types

typedef halco::hicann_dls::vx::DAC6573ChannelOnBoard coordinate_type
 
typedef std::true_type is_leaf_node
 

Public Member Functions

 DAC6573ChannelConfig (Value const &value=Value())
 Default constructor. More...
 
void decode (std::array< fisch::vx::word_access_type::I2CDAC6573RwRegister, config_size_in_words > const &data) SYMBOL_VISIBLE
 
std::array< fisch::vx::word_access_type::I2CDAC6573RwRegister, config_size_in_wordsencode () const SYMBOL_VISIBLE
 
Value get_value () const SYMBOL_VISIBLE
 Get DAC channel value. More...
 
bool operator!= (DAC6573ChannelConfig const &other) const SYMBOL_VISIBLE
 
bool operator== (DAC6573ChannelConfig const &other) const SYMBOL_VISIBLE
 
void set_value (Value value) SYMBOL_VISIBLE
 Set DAC channel value. More...
 

Static Public Member Functions

static std::array< halco::hicann_dls::vx::I2CDAC6573RwRegisterOnBoard, config_size_in_wordsaddresses (coordinate_type const &coord) SYMBOL_VISIBLE
 

Static Public Attributes

static constexpr size_t config_size_in_words = 1
 
constexpr static auto unsupported_read_targets
 

Friends

class cereal::access
 
std::ostream & operator<< (std::ostream &os, DAC6573ChannelConfig const &config) SYMBOL_VISIBLE
 

Detailed Description

Definition at line 602 of file i2c.h.

Member Typedef Documentation

◆ coordinate_type

typedef halco::hicann_dls::vx::DAC6573ChannelOnBoard haldls::vx::DAC6573ChannelConfig::coordinate_type

Definition at line 605 of file i2c.h.

◆ is_leaf_node

Definition at line 606 of file i2c.h.

Constructor & Destructor Documentation

◆ DAC6573ChannelConfig()

haldls::vx::DAC6573ChannelConfig::DAC6573ChannelConfig ( Value const &  value = Value())
inline

Default constructor.

Definition at line 623 of file i2c.h.

Member Function Documentation

◆ addresses()

static std::array<halco::hicann_dls::vx::I2CDAC6573RwRegisterOnBoard, config_size_in_words> haldls::vx::DAC6573ChannelConfig::addresses ( coordinate_type const &  coord)
static

◆ decode()

void haldls::vx::DAC6573ChannelConfig::decode ( std::array< fisch::vx::word_access_type::I2CDAC6573RwRegister, config_size_in_words > const &  data)

◆ encode()

std::array<fisch::vx::word_access_type::I2CDAC6573RwRegister, config_size_in_words> haldls::vx::DAC6573ChannelConfig::encode ( ) const

◆ get_value()

Value haldls::vx::DAC6573ChannelConfig::get_value ( ) const

Get DAC channel value.

Returns
Value

◆ operator!=()

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

◆ operator==()

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

◆ set_value()

void haldls::vx::DAC6573ChannelConfig::set_value ( Value  value)

Set DAC channel value.

Parameters
valueValue to set

Friends And Related Function Documentation

◆ cereal::access

friend class cereal::access
friend

Definition at line 656 of file i2c.h.

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
DAC6573ChannelConfig const &  config 
)
friend

Member Data Documentation

◆ config_size_in_words

constexpr size_t haldls::vx::DAC6573ChannelConfig::config_size_in_words = 1
staticconstexpr

Definition at line 646 of file i2c.h.

◆ unsupported_read_targets

constexpr static auto haldls::vx::DAC6573ChannelConfig::unsupported_read_targets
staticconstexpr
Initial value:
= {
hxcomm::vx::Target::simulation}

Definition at line 607 of file i2c.h.


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