HALDLS
|
Container for setting the reset pin of the chip. More...
#include <reset.h>
Public Types | |
typedef halco::hicann_dls::vx::ResetChipOnDLS | coordinate_type |
typedef std::true_type | is_leaf_node |
Public Member Functions | |
ResetChip (bool value=false) SYMBOL_VISIBLE | |
Construct chip reset with boolean value. More... | |
void | decode (std::array< fisch::vx::word_access_type::ResetChip, read_config_size_in_words > const &data) SYMBOL_VISIBLE |
std::array< fisch::vx::word_access_type::ResetChip, write_config_size_in_words > | encode () const SYMBOL_VISIBLE |
bool | operator!= (ResetChip const &other) const SYMBOL_VISIBLE |
bool | operator== (ResetChip const &other) const SYMBOL_VISIBLE |
void | set (bool value) SYMBOL_VISIBLE |
Set chip reset. More... | |
Static Public Member Functions | |
static std::array< halco::hicann_dls::vx::ResetChipOnDLS, read_config_size_in_words > | read_addresses (coordinate_type const &word) SYMBOL_VISIBLE |
static std::array< halco::hicann_dls::vx::ResetChipOnDLS, write_config_size_in_words > | write_addresses (coordinate_type const &word) SYMBOL_VISIBLE |
Static Public Attributes | |
static constexpr size_t | read_config_size_in_words = 0 |
static constexpr size_t | write_config_size_in_words = 1 |
Friends | |
class | cereal::access |
std::ostream & | operator<< (std::ostream &os, ResetChip const &config) SYMBOL_VISIBLE |
typedef halco::hicann_dls::vx::ResetChipOnDLS haldls::vx::ResetChip::coordinate_type |
typedef std::true_type haldls::vx::ResetChip::is_leaf_node |
|
explicit |
Construct chip reset with boolean value.
On true, the chip reset is enabled.
value | Boolean value |
void haldls::vx::ResetChip::decode | ( | std::array< fisch::vx::word_access_type::ResetChip, read_config_size_in_words > const & | data | ) |
std::array<fisch::vx::word_access_type::ResetChip, write_config_size_in_words> haldls::vx::ResetChip::encode | ( | ) | const |
bool haldls::vx::ResetChip::operator!= | ( | ResetChip const & | other | ) | const |
bool haldls::vx::ResetChip::operator== | ( | ResetChip const & | other | ) | const |
|
static |
void haldls::vx::ResetChip::set | ( | bool | value | ) |
Set chip reset.
On true, the chip reset is enabled.
value | Boolean value |
|
static |
|
friend |
|
staticconstexpr |
|
staticconstexpr |