pflib v2.7.0-1-gd371ab6a
Polarfire Interaction Library
|
Abstract interface for various backend manipulations. More...
#include <Backend.h>
Public Member Functions | |
virtual void | fc_sendL1A ()=0 |
send a single L1A More... | |
virtual void | fc_linkreset ()=0 |
send a link reset More... | |
virtual void | fc_bufferclear ()=0 |
send a single L1A More... | |
virtual void | fc_calibpulse ()=0 |
send a single calib pulse More... | |
virtual void | fc_clear_run () |
reset counters for a new run More... | |
virtual void | fc_setup_calib (int pulse_len, int l1a_offset)=0 |
calib pulse setup More... | |
virtual void | fc_get_setup_calib (int &pulse_len, int &l1a_offset)=0 |
calib pulse setup More... | |
virtual void | fc_read_counters (int &spill_count, int &header_occ, int &header_occ_max, int &event_count, int &vetoed_counter) |
read counters from the FC side More... | |
virtual void | fc_advance_l1_fifo () |
advance the FC fifo More... | |
virtual void | fc_enables_read (bool &ext_l1a, bool &ext_spill, bool &timer_l1a) |
check the enables for various trigger/spill sources More... | |
virtual void | fc_enables (bool ext_l1a, bool ext_spill, bool timer_l1a) |
set the enables for various trigger/spill sources More... | |
virtual void | fc_veto_setup_read (bool &veto_daq_busy, bool &veto_l1_occ, int &l1_occ_busy, int &l1_occ_ok) |
check the setup for various busy/veto More... | |
virtual void | fc_veto_setup (bool veto_daq_busy, bool veto_l1_occ, int l1_occ_busy, int l1_occ_ok) |
set the enables for various trigger/spill sources More... | |
virtual int | fc_timer_setup_read () |
get the period in us for the timer trigger More... | |
virtual void | fc_timer_setup (int usdelay) |
set the period in us for the timer trigger More... | |
virtual void | daq_reset ()=0 |
reset the daq buffers More... | |
virtual void | daq_advance_ptr ()=0 |
advance the daq pointer along buffer More... | |
virtual void | daq_status (bool &full, bool &empty, int &nevents, int &next_event_size)=0 |
readout the daq status into the passed variables More... | |
virtual std::vector< uint32_t > | daq_read_event ()=0 |
read the aquired event and return it More... | |
virtual void | daq_setup_event_tag (int run, int day, int month, int hour, int min) |
Set the event tagging information. More... | |
Abstract interface for various backend manipulations.
All backend communication methods need to implement these functions.
|
pure virtual |
advance the daq pointer along buffer
Implemented in pflib::rogue::RogueWishboneInterface, and pflib::uhal::uhalWishboneInterface.
|
pure virtual |
read the aquired event and return it
Implemented in pflib::rogue::RogueWishboneInterface, and pflib::uhal::uhalWishboneInterface.
|
pure virtual |
reset the daq buffers
Implemented in pflib::rogue::RogueWishboneInterface, and pflib::uhal::uhalWishboneInterface.
|
virtual |
Set the event tagging information.
Reimplemented in pflib::rogue::RogueWishboneInterface.
|
pure virtual |
readout the daq status into the passed variables
Implemented in pflib::rogue::RogueWishboneInterface, and pflib::uhal::uhalWishboneInterface.
|
inlinevirtual |
advance the FC fifo
Reimplemented in pflib::rogue::RogueWishboneInterface, and pflib::uhal::uhalWishboneInterface.
|
pure virtual |
send a single L1A
Implemented in pflib::rogue::RogueWishboneInterface, and pflib::uhal::uhalWishboneInterface.
|
pure virtual |
send a single calib pulse
Implemented in pflib::rogue::RogueWishboneInterface, and pflib::uhal::uhalWishboneInterface.
|
inlinevirtual |
reset counters for a new run
Reimplemented in pflib::rogue::RogueWishboneInterface, and pflib::uhal::uhalWishboneInterface.
|
inlinevirtual |
set the enables for various trigger/spill sources
Reimplemented in pflib::rogue::RogueWishboneInterface, and pflib::uhal::uhalWishboneInterface.
|
inlinevirtual |
check the enables for various trigger/spill sources
Reimplemented in pflib::rogue::RogueWishboneInterface, and pflib::uhal::uhalWishboneInterface.
|
pure virtual |
calib pulse setup
Implemented in pflib::rogue::RogueWishboneInterface, and pflib::uhal::uhalWishboneInterface.
|
pure virtual |
send a link reset
Implemented in pflib::rogue::RogueWishboneInterface, and pflib::uhal::uhalWishboneInterface.
|
inlinevirtual |
read counters from the FC side
Reimplemented in pflib::rogue::RogueWishboneInterface, and pflib::uhal::uhalWishboneInterface.
|
pure virtual |
send a single L1A
Implemented in pflib::rogue::RogueWishboneInterface, and pflib::uhal::uhalWishboneInterface.
|
pure virtual |
calib pulse setup
Implemented in pflib::rogue::RogueWishboneInterface, and pflib::uhal::uhalWishboneInterface.
|
inlinevirtual |
set the period in us for the timer trigger
Reimplemented in pflib::rogue::RogueWishboneInterface.
|
inlinevirtual |
get the period in us for the timer trigger
Reimplemented in pflib::rogue::RogueWishboneInterface.
|
inlinevirtual |
set the enables for various trigger/spill sources
Reimplemented in pflib::rogue::RogueWishboneInterface, and pflib::uhal::uhalWishboneInterface.
|
inlinevirtual |
check the setup for various busy/veto
Reimplemented in pflib::rogue::RogueWishboneInterface, and pflib::uhal::uhalWishboneInterface.