HALDLS
haldls::vx::ResetChip Class Reference

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_wordsencode () 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_wordsread_addresses (coordinate_type const &word) SYMBOL_VISIBLE
 
static std::array< halco::hicann_dls::vx::ResetChipOnDLS, write_config_size_in_wordswrite_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
 

Detailed Description

Container for setting the reset pin of the chip.

Definition at line 21 of file reset.h.

Member Typedef Documentation

◆ coordinate_type

typedef halco::hicann_dls::vx::ResetChipOnDLS haldls::vx::ResetChip::coordinate_type

Definition at line 24 of file reset.h.

◆ is_leaf_node

typedef std::true_type haldls::vx::ResetChip::is_leaf_node

Definition at line 25 of file reset.h.

Constructor & Destructor Documentation

◆ ResetChip()

haldls::vx::ResetChip::ResetChip ( bool  value = false)
explicit

Construct chip reset with boolean value.

On true, the chip reset is enabled.

Parameters
valueBoolean value

Member Function Documentation

◆ decode()

void haldls::vx::ResetChip::decode ( std::array< fisch::vx::word_access_type::ResetChip, read_config_size_in_words > const &  data)

◆ encode()

std::array<fisch::vx::word_access_type::ResetChip, write_config_size_in_words> haldls::vx::ResetChip::encode ( ) const

◆ operator!=()

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

◆ operator==()

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

◆ read_addresses()

static std::array<halco::hicann_dls::vx::ResetChipOnDLS, read_config_size_in_words> haldls::vx::ResetChip::read_addresses ( coordinate_type const &  word)
static

◆ set()

void haldls::vx::ResetChip::set ( bool  value)

Set chip reset.

On true, the chip reset is enabled.

Parameters
valueBoolean value

◆ write_addresses()

static std::array<halco::hicann_dls::vx::ResetChipOnDLS, write_config_size_in_words> haldls::vx::ResetChip::write_addresses ( coordinate_type const &  word)
static

Friends And Related Function Documentation

◆ cereal::access

friend class cereal::access
friend

Definition at line 59 of file reset.h.

◆ operator<<

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

Member Data Documentation

◆ read_config_size_in_words

constexpr size_t haldls::vx::ResetChip::read_config_size_in_words = 0
staticconstexpr

Definition at line 48 of file reset.h.

◆ write_config_size_in_words

constexpr size_t haldls::vx::ResetChip::write_config_size_in_words = 1
staticconstexpr

Definition at line 47 of file reset.h.


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