LOLA
|
Container for configuration of all DAC channels on the xBoard. More...
#include <dac.h>
Public Types | |
typedef halco::common::typed_array< Value, halco::hicann_dls::vx::DACChannelOnBoard > | _value_type |
typedef halco::hicann_dls::vx::DACChannelBlockOnBoard | coordinate_type |
typedef std::false_type | has_local_data |
typedef haldls::vx::DACChannel::Value | Value |
Public Member Functions | |
DACChannelBlock () SYMBOL_VISIBLE | |
Default constructor. More... | |
double | get_voltage (halco::hicann_dls::vx::DACChannelOnBoard coord) const SYMBOL_VISIBLE |
Getter for DAC values in volts. More... | |
bool | operator!= (DACChannelBlock const &other) const SYMBOL_VISIBLE |
bool | operator== (DACChannelBlock const &other) const SYMBOL_VISIBLE |
void | set_voltage (halco::hicann_dls::vx::DACChannelOnBoard coord, double voltage) SYMBOL_VISIBLE |
Setter for DAC values in volts. More... | |
Public Attributes | |
_value_type | value |
Array of channel values. More... | |
Static Public Attributes | |
static const SYMBOL_VISIBLE DACChannelBlock | default_ldo_1 |
Default value for LDO version 1. More... | |
static const SYMBOL_VISIBLE DACChannelBlock | default_ldo_2 |
Default value for LDO version 2. More... | |
Friends | |
struct | haldls::vx::detail::VisitPreorderImpl< lola::vx::DACChannelBlock > |
std::ostream & | operator<< (std::ostream &os, DACChannelBlock const &block) SYMBOL_VISIBLE |
typedef halco::common::typed_array<Value, halco::hicann_dls::vx::DACChannelOnBoard> lola::vx::DACChannelBlock::_value_type |
typedef halco::hicann_dls::vx::DACChannelBlockOnBoard lola::vx::DACChannelBlock::coordinate_type |
typedef std::false_type lola::vx::DACChannelBlock::has_local_data |
typedef haldls::vx::DACChannel::Value lola::vx::DACChannelBlock::Value |
lola::vx::DACChannelBlock::DACChannelBlock | ( | ) |
Default constructor.
double lola::vx::DACChannelBlock::get_voltage | ( | halco::hicann_dls::vx::DACChannelOnBoard | coord | ) | const |
Getter for DAC values in volts.
coord | Coordinate of the DAC channel to read. |
bool lola::vx::DACChannelBlock::operator!= | ( | DACChannelBlock const & | other | ) | const |
bool lola::vx::DACChannelBlock::operator== | ( | DACChannelBlock const & | other | ) | const |
void lola::vx::DACChannelBlock::set_voltage | ( | halco::hicann_dls::vx::DACChannelOnBoard | coord, |
double | voltage | ||
) |
Setter for DAC values in volts.
coord | Coordinate of the DAC channel to configure. |
voltage | Voltage in Volt (V) to apply at that channel. |
|
friend |
|
friend |
|
static |
|
static |
_value_type lola::vx::DACChannelBlock::value |