HALDLS
haldls::vx::AD5252ChannelConfigPersistent Class Reference

#include <i2c.h>

Classes

struct  WiperSetting
 

Public Types

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

Public Member Functions

 AD5252ChannelConfigPersistent () SYMBOL_VISIBLE
 Default constructor. More...
 
void decode (std::array< fisch::vx::word_access_type::I2CAD5252RwRegister, config_size_in_words > const &data) SYMBOL_VISIBLE
 
std::array< fisch::vx::word_access_type::I2CAD5252RwRegister, config_size_in_wordsencode () const SYMBOL_VISIBLE
 
WiperSetting get_value () const SYMBOL_VISIBLE
 Get wiper setting for digital potentiometer. More...
 
bool operator!= (AD5252ChannelConfigPersistent const &other) const SYMBOL_VISIBLE
 
bool operator== (AD5252ChannelConfigPersistent const &other) const SYMBOL_VISIBLE
 
void set_value (WiperSetting value) SYMBOL_VISIBLE
 Set wiper setting for digital potentiometer. More...
 

Static Public Member Functions

static std::array< halco::hicann_dls::vx::I2CAD5252RwRegisterOnBoard, 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, AD5252ChannelConfigPersistent const &config) SYMBOL_VISIBLE
 

Detailed Description

Definition at line 526 of file i2c.h.

Member Typedef Documentation

◆ coordinate_type

typedef halco::hicann_dls::vx::AD5252ChannelConfigPersistentOnBoard haldls::vx::AD5252ChannelConfigPersistent::coordinate_type

Definition at line 529 of file i2c.h.

◆ is_leaf_node

Definition at line 530 of file i2c.h.

Constructor & Destructor Documentation

◆ AD5252ChannelConfigPersistent()

haldls::vx::AD5252ChannelConfigPersistent::AD5252ChannelConfigPersistent ( )

Default constructor.

Member Function Documentation

◆ addresses()

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

◆ decode()

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

◆ encode()

std::array<fisch::vx::word_access_type::I2CAD5252RwRegister, config_size_in_words> haldls::vx::AD5252ChannelConfigPersistent::encode ( ) const

◆ get_value()

WiperSetting haldls::vx::AD5252ChannelConfigPersistent::get_value ( ) const

Get wiper setting for digital potentiometer.

Returns
Wiper setting

◆ operator!=()

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

◆ operator==()

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

◆ set_value()

void haldls::vx::AD5252ChannelConfigPersistent::set_value ( WiperSetting  value)

Set wiper setting for digital potentiometer.

Parameters
valueThe wiper setting.

Friends And Related Function Documentation

◆ cereal::access

friend class cereal::access
friend

Definition at line 581 of file i2c.h.

◆ operator<<

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

Member Data Documentation

◆ config_size_in_words

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

Definition at line 571 of file i2c.h.

◆ unsupported_read_targets

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

Definition at line 531 of file i2c.h.


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