HALDLS
haldls::vx::TCA9554Inputs Class Reference

#include <i2c.h>

Public Types

typedef halco::common::typed_array< bool, halco::hicann_dls::vx::TCA9554ChannelOnBoard > ChannelsBooleanArray
 
typedef halco::hicann_dls::vx::TCA9554InputsOnBoard coordinate_type
 
typedef std::true_type is_leaf_node
 

Public Member Functions

 TCA9554Inputs () SYMBOL_VISIBLE
 
void decode (std::array< fisch::vx::word_access_type::I2CTCA9554RoRegister, config_size_in_words > const &data) SYMBOL_VISIBLE
 
std::array< fisch::vx::word_access_type::I2CTCA9554RoRegister, config_size_in_wordsencode () const SYMBOL_VISIBLE
 
bool operator!= (TCA9554Inputs const &other) const SYMBOL_VISIBLE
 
bool operator== (TCA9554Inputs const &other) const SYMBOL_VISIBLE
 
 return_value_policy (reference_internal)) ChannelsBooleanArray const &get_channel_input() const SYMBOL_VISIBLE
 
void set_channel_input (ChannelsBooleanArray const &value) SYMBOL_VISIBLE
 Set input value for all channels. More...
 

Static Public Member Functions

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

Detailed Description

Definition at line 279 of file i2c.h.

Member Typedef Documentation

◆ ChannelsBooleanArray

typedef halco::common:: typed_array<bool, halco::hicann_dls::vx::TCA9554ChannelOnBoard> haldls::vx::TCA9554Inputs::ChannelsBooleanArray

Definition at line 288 of file i2c.h.

◆ coordinate_type

typedef halco::hicann_dls::vx::TCA9554InputsOnBoard haldls::vx::TCA9554Inputs::coordinate_type

Definition at line 282 of file i2c.h.

◆ is_leaf_node

Definition at line 283 of file i2c.h.

Constructor & Destructor Documentation

◆ TCA9554Inputs()

haldls::vx::TCA9554Inputs::TCA9554Inputs ( )

Member Function Documentation

◆ addresses()

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

◆ decode()

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

◆ encode()

std::array<fisch::vx::word_access_type::I2CTCA9554RoRegister, config_size_in_words> haldls::vx::TCA9554Inputs::encode ( ) const

◆ operator!=()

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

◆ operator==()

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

◆ return_value_policy()

haldls::vx::TCA9554Inputs::return_value_policy ( reference_internal  ) const &

◆ set_channel_input()

void haldls::vx::TCA9554Inputs::set_channel_input ( ChannelsBooleanArray const &  value)

Set input value for all channels.

Parameters
valueArray of channel input values

Friends And Related Function Documentation

◆ cereal::access

friend class cereal::access
friend

Definition at line 323 of file i2c.h.

◆ operator<<

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

Member Data Documentation

◆ config_size_in_words

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

Definition at line 313 of file i2c.h.

◆ unsupported_read_targets

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

Definition at line 284 of file i2c.h.


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