HALDLS
|
Container writing JTAG clock-scaler value. More...
#include <jtag.h>
Classes | |
struct | Value |
Clock-scaler value type. More... | |
Public Types | |
typedef halco::hicann_dls::vx::JTAGClockScalerOnDLS | coordinate_type |
typedef std::true_type | is_leaf_node |
Public Member Functions | |
JTAGClockScaler (Value value=Value()) SYMBOL_VISIBLE | |
Construct scaler with value. More... | |
void | decode (std::array< fisch::vx::word_access_type::JTAGClockScaler, read_config_size_in_words > const &data) SYMBOL_VISIBLE |
Decode read words into container config. More... | |
std::array< fisch::vx::word_access_type::JTAGClockScaler, write_config_size_in_words > | encode () const SYMBOL_VISIBLE |
Get container config encoded in writable words. More... | |
bool | operator!= (JTAGClockScaler const &other) const SYMBOL_VISIBLE |
bool | operator== (JTAGClockScaler const &other) const SYMBOL_VISIBLE |
void | set (Value value) SYMBOL_VISIBLE |
Set clock-scaler value. More... | |
Static Public Member Functions | |
static std::array< halco::hicann_dls::vx::JTAGClockScalerOnDLS, read_config_size_in_words > | read_addresses (coordinate_type const &word) SYMBOL_VISIBLE |
Get word addresses for encoding a read. More... | |
static std::array< halco::hicann_dls::vx::JTAGClockScalerOnDLS, write_config_size_in_words > | write_addresses (coordinate_type const &word) SYMBOL_VISIBLE |
Get word addresses for encoding a write. More... | |
Static Public Attributes | |
static constexpr size_t | read_config_size_in_words = 0 |
Number of words for read access. More... | |
static constexpr size_t | write_config_size_in_words = 1 |
Number of words for write access. More... | |
Friends | |
class | cereal::access |
std::ostream & | operator<< (std::ostream &os, JTAGClockScaler const &config) SYMBOL_VISIBLE |
typedef halco::hicann_dls::vx::JTAGClockScalerOnDLS haldls::vx::JTAGClockScaler::coordinate_type |
typedef std::true_type haldls::vx::JTAGClockScaler::is_leaf_node |
Construct scaler with value.
value | Value to construct scaler with |
void haldls::vx::JTAGClockScaler::decode | ( | std::array< fisch::vx::word_access_type::JTAGClockScaler, read_config_size_in_words > const & | data | ) |
Decode read words into container config.
data | Array of word values |
std::array<fisch::vx::word_access_type::JTAGClockScaler, write_config_size_in_words> haldls::vx::JTAGClockScaler::encode | ( | ) | const |
Get container config encoded in writable words.
bool haldls::vx::JTAGClockScaler::operator!= | ( | JTAGClockScaler const & | other | ) | const |
bool haldls::vx::JTAGClockScaler::operator== | ( | JTAGClockScaler const & | other | ) | const |
|
static |
Get word addresses for encoding a read.
void haldls::vx::JTAGClockScaler::set | ( | Value | value | ) |
Set clock-scaler value.
value | Clock-scaler value to set |
|
static |
Get word addresses for encoding a write.
|
friend |
|
staticconstexpr |
|
staticconstexpr |