Cat
|
#include <inc/Proto40MHz_v1.h>
Classes | |
class | Proto40MHz_v1 |
Public Member Functions | |
Proto40MHz_v1 () | |
Standard constructor. More... | |
virtual | ~Proto40MHz_v1 () |
Destructor. More... | |
void | help () |
StatusCode | init () |
void | reset () |
void | update () |
UsbFTInterface * | usb () |
Phaser * | phaser0 () |
Phaser * | phaser1 () |
Phaser * | phaser2 () |
A3PE * | a3pe () |
![]() | |
Element () | |
Standard constructor. More... | |
virtual | ~Element () |
Destructor. More... | |
void | recursiveInitElement () |
void | recursiveInitCommunications () |
StatusCode | setConnection (Hierarchy *) |
Hierarchy * | connection () |
![]() | |
Hierarchy () | |
Standard constructor. More... | |
virtual | ~Hierarchy () |
Destructor. More... | |
void | clear () |
void | setParent (Hierarchy *parent) |
Hierarchy * | parent () |
Hierarchy * | parent (std::string) |
Hierarchy * | origin () |
virtual void | addChild (Hierarchy *element) |
std::vector< Hierarchy * > | children () |
Hierarchy * | child (std::string) |
Hierarchy * | childTyped (std::string) |
unsigned long | numberOfChildren () |
bool | hasChildren () |
void | delChild (Hierarchy *) |
void | delChild (std::string) |
std::string | path (std::string=std::string("")) |
std::string | pathTyped (std::string=std::string("")) |
void | tree (std::string indent=std::string("")) |
void | tree () |
![]() | |
Object () | |
Standard constructor. More... | |
virtual | ~Object () |
Destructor. More... | |
std::string | name () const |
std::string | type () |
unsigned char | id () |
std::string | title () |
void | msgSvc (int level, std::string msg, std::string name) |
void | msg (std::string mymsg) |
void | verbose (std::string mymsg) |
void | debug (std::string mymsg) |
void | info (std::string mymsg) |
void | warning (std::string mymsg) |
void | error (std::string mymsg) |
void | fatal (std::string mymsg) |
void | msg (std::string mymsg, std::string name) |
void | verbose (std::string mymsg, std::string name) |
void | debug (std::string mymsg, std::string name) |
void | info (std::string mymsg, std::string name) |
void | warning (std::string mymsg, std::string name) |
void | error (std::string mymsg, std::string name) |
void | fatal (std::string mymsg, std::string name) |
void | setName (std::string name) |
void | setType (std::string type) |
void | setId (unsigned char id) |
void | setTitle (std::string title) |
void | setDllName (std::string dllName) |
std::string | dllName () |
![]() | |
Attrib () | |
Standard constructor. More... | |
virtual | ~Attrib () |
Destructor. More... | |
bool | is (int attribut) |
void | add (int attribut) |
void | remove (int attribut) |
std::string | attributs () |
Private Attributes | |
UsbFTInterface * | m_usb |
UsbI2cBus * | m_usbi2c |
UsbSpiBus * | m_usbspi |
Phaser * | m_phaser0 |
Phaser * | m_phaser1 |
Phaser * | m_phaser2 |
Register * | m_reg |
A3PE * | m_a3pe |
Additional Inherited Members | |
![]() | |
enum | Attribut { UNDEFINED, PASSIVE, ACTIVE, INTERFACE, IO, IODATA, ELEMENT, HARDWARE, PROCESSUS, SOFTWARE } |
![]() | |
Hierarchy * | m_connection |
![]() | |
std::string | m_attribString [10] |
Definition at line 21 of file Proto40MHz_v1.h.
Standard constructor.
Definition at line 17 of file Proto40MHz_v1.cpp.
References Attrib::add(), Hierarchy::addChild(), IOdata::defDataU8(), Attrib::ELEMENT, Attrib::HARDWARE, IOobject::io(), m_a3pe, m_phaser0, m_phaser1, m_phaser2, m_reg, m_usb, m_usbi2c, m_usbspi, Phaser::reg(), UsbI2cBus::regAddress(), UsbI2cBus::regData(), IOobject::setAddress(), Object::setName(), and Object::setType().
|
virtual |
|
inline |
Definition at line 74 of file Proto40MHz_v1.h.
References m_a3pe.
Referenced by BOOST_PYTHON_MODULE(), StorageFifo::initialize(), StorageFifoAcquisition::initialize(), A3PE_BitFlip::initialize(), Acquisition::initialize(), Proto40MHz_v1.Proto40MHz_v1::isReady(), Proto40MHz_v1.Proto40MHz_v1::onAcquisition(), Proto40MHz_v1.Proto40MHz_v1::onAcquisitionReset(), Proto40MHz_v1.Proto40MHz_v1::onapplyaxlatency(), Proto40MHz_v1.Proto40MHz_v1::onapplyaxlength(), Proto40MHz_v1.Proto40MHz_v1::onapplyCh(), Proto40MHz_v1.Proto40MHz_v1::onapplyclockdiv(), Proto40MHz_v1.Proto40MHz_v1::onapplydelay(), Proto40MHz_v1.Proto40MHz_v1::onapplyfifodepth(), Proto40MHz_v1.Proto40MHz_v1::onapplyfreq(), Proto40MHz_v1.Proto40MHz_v1::onapplynumber(), Proto40MHz_v1.Proto40MHz_v1::onapplytrig(), Proto40MHz_v1.Proto40MHz_v1::onEnableStorage(), Proto40MHz_v1.Proto40MHz_v1::onFifoRAZ(), Proto40MHz_v1.Proto40MHz_v1::onFifoReset(), Proto40MHz_v1.Proto40MHz_v1::onFifoWrite(), Proto40MHz_v1.Proto40MHz_v1::onFromAXPtrRaz(), Proto40MHz_v1.Proto40MHz_v1::onFromAXRAZ(), Proto40MHz_v1.Proto40MHz_v1::onFromAXWrite(), Proto40MHz_v1.Proto40MHz_v1::onLatencyReset(), Proto40MHz_v1.Proto40MHz_v1::onModeAX(), Proto40MHz_v1.Proto40MHz_v1::onModeCh(), Proto40MHz_v1.Proto40MHz_v1::onPatternRAZ(), Proto40MHz_v1.Proto40MHz_v1::onPatternWrite(), Proto40MHz_v1.Proto40MHz_v1::onPipeline(), Proto40MHz_v1.Proto40MHz_v1::onReadFifo(), Proto40MHz_v1.Proto40MHz_v1::onReadFromAX(), Proto40MHz_v1.Proto40MHz_v1::onReadPattern(), Proto40MHz_v1.Proto40MHz_v1::onReadToAX(), Proto40MHz_v1.Proto40MHz_v1::onReadTrigger(), Proto40MHz_v1.Proto40MHz_v1::onResetFE(), Proto40MHz_v1.Proto40MHz_v1::onResetSPI(), Proto40MHz_v1.Proto40MHz_v1::onSoftTrig(), Proto40MHz_v1.Proto40MHz_v1::onStartSequenceAX(), Proto40MHz_v1.Proto40MHz_v1::onToAXPtrRaz(), Proto40MHz_v1.Proto40MHz_v1::onToAXRAZ(), Proto40MHz_v1.Proto40MHz_v1::onToAXWrite(), Proto40MHz_v1.Proto40MHz_v1::onTrigger(), Proto40MHz_v1.Proto40MHz_v1::onTriggerRAZ(), Proto40MHz_v1.Proto40MHz_v1::onTriggerWrite(), Proto40MHz_v1.Proto40MHz_v1::onUsbPhasersReset(), reset(), and Proto40MHz_v1.Proto40MHz_v1::update().
|
inlinevirtual |
printout help for the element
Implements Element.
Definition at line 31 of file Proto40MHz_v1.h.
References Object::info(), and Object::name().
|
inlinevirtual |
init the component
Implements Element.
Definition at line 37 of file Proto40MHz_v1.h.
References StatusCode::SUCCESS.
|
inline |
Definition at line 62 of file Proto40MHz_v1.h.
References m_phaser0.
Referenced by BOOST_PYTHON_MODULE(), and Proto40MHz_v1.Proto40MHz_v1::onPhaser0().
|
inline |
Definition at line 66 of file Proto40MHz_v1.h.
References m_phaser1.
Referenced by BOOST_PYTHON_MODULE(), and Proto40MHz_v1.Proto40MHz_v1::onPhaser1().
|
inline |
Definition at line 70 of file Proto40MHz_v1.h.
References m_phaser2.
Referenced by BOOST_PYTHON_MODULE(), and Proto40MHz_v1.Proto40MHz_v1::onPhaser2().
|
inlinevirtual |
Resets the Element so that is is in a standard and safe situation. Different from Element::init which configure the Element. Element::reset() is more an Emergency pull. It is often/usually called by the recursiveInitElement method at the start of the program.
Implements Element.
Definition at line 48 of file Proto40MHz_v1.h.
References a3pe(), Object::debug(), Object::name(), and A3PE::reset().
Referenced by Proto40MHz_v1.Proto40MHz_v1::onGlobalReset().
|
inlinevirtual |
Update the Element configuration from the actual hardware
Implements Element.
Definition at line 56 of file Proto40MHz_v1.h.
References Object::info(), and Object::name().
Referenced by A3PE_BitFlip.A3PE_BitFlip::__init__(), Acquisition.Acquisition::__init__(), EmulateFE.EmulateFE::__init__(), AppFrame.AppFrame::deleteHardware(), ConfFrame.ConfFrame::onChange(), GraphFrame.GraphFrame::onChange(), CfgFrame.CfgFrame::onChange(), ConfFrame.ConfFrame::onEdit(), AppFrame.AppFrame::onLoad(), ConfFrame.ConfFrame::onReLoad(), GraphFrame.GraphFrame::onReLoad(), CfgFrame.CfgFrame::onReLoad(), and AppFrame.AppFrame::onReLoad().
|
inline |
Definition at line 58 of file Proto40MHz_v1.h.
References m_usb.
Referenced by BOOST_PYTHON_MODULE().
|
private |
Definition at line 88 of file Proto40MHz_v1.h.
Referenced by a3pe(), and Proto40MHz_v1().
|
private |
Definition at line 84 of file Proto40MHz_v1.h.
Referenced by phaser0(), and Proto40MHz_v1().
|
private |
Definition at line 85 of file Proto40MHz_v1.h.
Referenced by phaser1(), and Proto40MHz_v1().
|
private |
Definition at line 86 of file Proto40MHz_v1.h.
Referenced by phaser2(), and Proto40MHz_v1().
|
private |
Definition at line 87 of file Proto40MHz_v1.h.
Referenced by Proto40MHz_v1().
|
private |
Definition at line 81 of file Proto40MHz_v1.h.
Referenced by Proto40MHz_v1(), and usb().
|
private |
Definition at line 82 of file Proto40MHz_v1.h.
Referenced by Proto40MHz_v1().
|
private |
Definition at line 83 of file Proto40MHz_v1.h.
Referenced by Proto40MHz_v1().