HALDLS
haldls::vx::EventRecordingConfig Class Reference

Container for the event (spikes, MADC samples) recording configuration register. More...

#include <fpga.h>

Public Types

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

Public Member Functions

 EventRecordingConfig () SYMBOL_VISIBLE
 
void decode (std::array< fisch::vx::word_access_type::Omnibus, read_config_size_in_words > const &data) SYMBOL_VISIBLE
 
std::array< fisch::vx::word_access_type::Omnibus, write_config_size_in_wordsencode () const SYMBOL_VISIBLE
 
bool get_enable_event_recording () const SYMBOL_VISIBLE
 Get enable event recording. More...
 
bool operator!= (EventRecordingConfig const &other) const SYMBOL_VISIBLE
 
bool operator== (EventRecordingConfig const &other) const SYMBOL_VISIBLE
 
std::array< halco::hicann_dls::vx::OmnibusAddress, read_config_size_in_wordsread_addresses (coordinate_type const &word) const SYMBOL_VISIBLE
 
void set_enable_event_recording (bool value) SYMBOL_VISIBLE
 Set enable_event_recording. More...
 
std::array< halco::hicann_dls::vx::OmnibusAddress, write_config_size_in_wordswrite_addresses (coordinate_type const &word) const SYMBOL_VISIBLE
 

Static Public Attributes

static constexpr size_t read_config_size_in_words = 1
 
static constexpr size_t write_config_size_in_words = 1
 

Friends

class cereal::access
 
std::ostream & operator<< (std::ostream &os, EventRecordingConfig const &config) SYMBOL_VISIBLE
 

Detailed Description

Container for the event (spikes, MADC samples) recording configuration register.

Definition at line 96 of file fpga.h.

Member Typedef Documentation

◆ coordinate_type

typedef halco::hicann_dls::vx::EventRecordingConfigOnFPGA haldls::vx::EventRecordingConfig::coordinate_type

Definition at line 99 of file fpga.h.

◆ is_leaf_node

Definition at line 100 of file fpga.h.

Constructor & Destructor Documentation

◆ EventRecordingConfig()

haldls::vx::EventRecordingConfig::EventRecordingConfig ( )
explicit

Member Function Documentation

◆ decode()

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

◆ encode()

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

◆ get_enable_event_recording()

bool haldls::vx::EventRecordingConfig::get_enable_event_recording ( ) const

Get enable event recording.

Returns
bool

◆ operator!=()

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

◆ operator==()

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

◆ read_addresses()

std::array<halco::hicann_dls::vx::OmnibusAddress, read_config_size_in_words> haldls::vx::EventRecordingConfig::read_addresses ( coordinate_type const &  word) const

◆ set_enable_event_recording()

void haldls::vx::EventRecordingConfig::set_enable_event_recording ( bool  value)

Set enable_event_recording.

Parameters
valuebool to set

◆ write_addresses()

std::array<halco::hicann_dls::vx::OmnibusAddress, write_config_size_in_words> haldls::vx::EventRecordingConfig::write_addresses ( coordinate_type const &  word) const

Friends And Related Function Documentation

◆ cereal::access

friend class cereal::access
friend

Definition at line 136 of file fpga.h.

◆ operator<<

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

Member Data Documentation

◆ read_config_size_in_words

constexpr size_t haldls::vx::EventRecordingConfig::read_config_size_in_words = 1
staticconstexpr

Definition at line 124 of file fpga.h.

◆ write_config_size_in_words

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

Definition at line 125 of file fpga.h.


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