HALDLS
haldls::vx::Timer Class Reference

Container for resetting the FPGA playback timer. More...

#include <timer.h>

Classes

struct  Value
 

Public Types

typedef halco::hicann_dls::vx::TimerOnDLS coordinate_type
 
typedef std::true_type is_leaf_node
 

Public Member Functions

 Timer (Value value=Value()) SYMBOL_VISIBLE
 Construct on-FPGA-timer with value. More...
 
void decode (std::array< fisch::vx::word_access_type::Timer, read_config_size_in_words > const &data) SYMBOL_VISIBLE
 
std::array< fisch::vx::word_access_type::Timer, write_config_size_in_wordsencode () const SYMBOL_VISIBLE
 
bool operator!= (Timer const &other) const SYMBOL_VISIBLE
 
bool operator== (Timer const &other) const SYMBOL_VISIBLE
 
void set (Value value) SYMBOL_VISIBLE
 Set timer value. More...
 

Static Public Member Functions

static std::array< halco::hicann_dls::vx::TimerOnDLS, read_config_size_in_wordsread_addresses (coordinate_type const &word) SYMBOL_VISIBLE
 
static std::array< halco::hicann_dls::vx::TimerOnDLS, 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, Timer const &config) SYMBOL_VISIBLE
 

Detailed Description

Container for resetting the FPGA playback timer.

Definition at line 19 of file timer.h.

Member Typedef Documentation

◆ coordinate_type

typedef halco::hicann_dls::vx::TimerOnDLS haldls::vx::Timer::coordinate_type

Definition at line 22 of file timer.h.

◆ is_leaf_node

typedef std::true_type haldls::vx::Timer::is_leaf_node

Definition at line 23 of file timer.h.

Constructor & Destructor Documentation

◆ Timer()

haldls::vx::Timer::Timer ( Value  value = Value())
explicit

Construct on-FPGA-timer with value.

Parameters
valueValue to construct with

Member Function Documentation

◆ decode()

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

◆ encode()

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

◆ operator!=()

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

◆ operator==()

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

◆ read_addresses()

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

◆ set()

void haldls::vx::Timer::set ( Value  value)

Set timer value.

Parameters
valueValue to set

◆ write_addresses()

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

Friends And Related Function Documentation

◆ cereal::access

friend class cereal::access
friend

Definition at line 64 of file timer.h.

◆ operator<<

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

Member Data Documentation

◆ read_config_size_in_words

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

Definition at line 53 of file timer.h.

◆ write_config_size_in_words

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

Definition at line 52 of file timer.h.


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