|
Cat
|
#include <A3PE.h>
Public Types | |
| typedef unsigned long | U32 |
| typedef unsigned short | U16 |
| typedef unsigned char | U8 |
Public Types inherited from Attrib | |
| enum | Attribut { UNDEFINED, PASSIVE, ACTIVE, INTERFACE, IO, IODATA, ELEMENT, HARDWARE, PROCESSUS, SOFTWARE } |
Public Member Functions | |
| A3PE () | |
| ~A3PE () | |
| void | help () |
| StatusCode | init () |
| void | reset () |
| StatusCode | resetStorageFifo () |
| StatusCode | resetUsbPhasers () |
| StatusCode | resetLatencyCounter () |
| StatusCode | resetAcquisitionWriteCounter () |
| StatusCode | resetPatternFifo () |
| StatusCode | resetTriggerFifo () |
| StatusCode | resetToAXRam () |
| StatusCode | resetFromAXRam () |
| StatusCode | resetSequenceFromToAX () |
| StatusCode | resetFE () |
| StatusCode | resetSPI () |
| StatusCode | setEnableADC (unsigned int, bool) |
| StatusCode | setWriteStorageFifoUsb (bool) |
| bool | enableADC (unsigned int) |
| bool | writeStorageFifoUsb () |
| StatusCode | setReadPatternFifoUsb (bool) |
| bool | readPatternFifoUsb () |
| StatusCode | setReadTriggerFifoUsb (bool) |
| bool | readTriggerFifoUsb () |
| StatusCode | setReadToAXRamUsb (bool) |
| bool | readToAXRamUsb () |
| StatusCode | setWriteFromAXRamUsb (bool) |
| bool | writeFromAXRamUsb () |
| StatusCode | setAXRamUsb (bool) |
| StatusCode | startSequenceAX () |
| StatusCode | setSoftwareTrigger (bool) |
| bool | softwareTrigger () |
| StatusCode | setClockDivision (unsigned int) |
| StatusCode | setTriggerDelay (unsigned int) |
| StatusCode | setSeqPulseDelay (unsigned int) |
| StatusCode | setTriggerRate (unsigned int) |
| StatusCode | setNTrigger (unsigned int) |
| StatusCode | setFifoLatency (unsigned short) |
| StatusCode | setFifoDepth (unsigned int) |
| unsigned int | clockDivision () |
| unsigned int | triggerDelay () |
| unsigned int | seqPulseDelay () |
| unsigned int | triggerRate () |
| unsigned int | nTrigger () |
| unsigned int | fifoLatency () |
| unsigned int | fifoDepth () |
| StatusCode | acquisition () |
| StatusCode | enableStorage () |
| StatusCode | trigger () |
| bool | dataReady () |
| void | update () |
| StatusCode | setInternalAXSequence (bool) |
| bool | internalAXSequence () |
| StatusCode | setLengthAX (unsigned int) |
| unsigned int | lengthAX () |
| StatusCode | setLatencyAX (unsigned int) |
| unsigned int | latencyAX () |
| StatusCode | setPipeline (unsigned int) |
| unsigned int | pipeline () |
| Register * | ctrlReg () |
| Register * | setupReg () |
| Register * | resetReg () |
| Register * | statusReg () |
| Register * | acqReg () |
| Register * | latencyReg () |
| Register * | writeLengthFifoReg () |
| Register * | ctrlAnaMezzReg () |
| Register * | clockDivisionReg () |
| Register * | triggerReg () |
| Register * | toAXReg () |
| Register * | fromAXReg () |
| Register * | spare3Reg () |
| RAM * | storageRam () |
| RAM * | patternRam () |
| RAM * | triggerRam () |
| RAM * | toAXRam () |
| RAM * | fromAXRam () |
| RAM * | testRam () |
| Register * | fromAXRamPtrReg () |
| Register * | toAXRamPtrReg () |
| void | dumpStorage () |
| void | loadStorage (std::string) |
| void | dumpPattern () |
| void | loadPattern (std::string) |
| void | dumpTrigger () |
| void | loadTrigger (std::string) |
| void | dumpToAX () |
| void | loadToAX (std::string) |
| void | dumpFromAX () |
| void | loadFromAX (std::string) |
| StatusCode | setAddToAXRam (int) |
| StatusCode | setAddFromAXRam (int) |
Public Member Functions inherited from Element | |
| Element () | |
| Standard constructor. More... | |
| virtual | ~Element () |
| Destructor. More... | |
| void | recursiveInitElement () |
| void | recursiveInitCommunications () |
| StatusCode | setConnection (Hierarchy *) |
| Hierarchy * | connection () |
Public Member Functions inherited from Hierarchy | |
| 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 () |
Public Member Functions inherited from Object | |
| 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 () |
Public Member Functions inherited from Attrib | |
| 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 | |
| Register * | m_globalUsbReset |
| Register * | m_ctrlReg |
| Register * | m_resetReg |
| Register * | m_setupReg |
| Register * | m_statusReg |
| Register * | m_acqReg |
| Register * | m_latencyReg |
| Register * | m_writeLengthFifoReg |
| Register * | m_ctrlAnaMezzReg |
| Register * | m_clockDivisionReg |
| Register * | m_triggerReg |
| Register * | m_toAXReg |
| Register * | m_fromAXReg |
| Register * | m_spare3Reg |
| RAM * | m_storageRam |
| RAM * | m_patternRam |
| RAM * | m_triggerRam |
| Register * | m_toAXRamPtr |
| Register * | m_fromAXRamPtr |
| RAM * | m_toAXRam |
| RAM * | m_fromAXRam |
| Register * | m_latencyAX |
| Register * | m_lengthAX |
| RAM * | m_testRam |
Additional Inherited Members | |
Protected Attributes inherited from Element | |
| Hierarchy * | m_connection |
Protected Attributes inherited from Attrib | |
| std::string | m_attribString [10] |
|
inline |
Definition at line 25 of file A3PE.h.
References Attrib::add(), Hierarchy::addChild(), Object::debug(), IOdata::defDataU16(), IOdata::defDataU32(), Attrib::ELEMENT, Attrib::HARDWARE, IOobject::io(), m_acqReg, m_clockDivisionReg, m_ctrlAnaMezzReg, m_ctrlReg, m_fromAXRam, m_fromAXRamPtr, m_fromAXReg, m_globalUsbReset, m_latencyAX, m_latencyReg, m_lengthAX, m_patternRam, m_resetReg, m_setupReg, m_spare3Reg, m_statusReg, m_storageRam, m_testRam, m_toAXRam, m_toAXRamPtr, m_toAXReg, m_triggerRam, m_triggerReg, m_writeLengthFifoReg, IOobject::setAddress(), Object::setId(), Object::setName(), RAM::setSize(), and Object::setType().
|
inline |
| StatusCode A3PE::acquisition | ( | ) |
Definition at line 417 of file A3PE.cpp.
References Object::debug(), m_acqReg, Register::setBit(), and Object::warning().
Referenced by BOOST_PYTHON_MODULE(), StorageFifoAcquisition::execute(), StorageFifo::execute(), and reset().
| unsigned int A3PE::clockDivision | ( | ) |
Definition at line 448 of file A3PE.cpp.
References shell::data(), IOdata::dataU32(), Object::error(), IOobject::io(), StatusCode::isFailure(), m_clockDivisionReg, Object::name(), and IOobject::read().
Referenced by BOOST_PYTHON_MODULE(), and reset().
|
inline |
Definition at line 516 of file A3PE.h.
References m_clockDivisionReg.
Referenced by BOOST_PYTHON_MODULE().
|
inline |
Definition at line 512 of file A3PE.h.
References m_ctrlAnaMezzReg.
Referenced by BOOST_PYTHON_MODULE().
|
inline |
| bool A3PE::dataReady | ( | ) |
Definition at line 406 of file A3PE.cpp.
References Object::debug(), Register::getBit(), and m_acqReg.
Referenced by BOOST_PYTHON_MODULE(), Acquisition::execute(), and reset().
| void A3PE::dumpFromAX | ( | ) |
Definition at line 896 of file A3PE.cpp.
References IOdata::dataU8(), fromAXRam(), Object::info(), IOobject::io(), itos(), lengthAX(), IOobject::read(), setAddFromAXRam(), and setAXRamUsb().
Referenced by BOOST_PYTHON_MODULE(), and toAXRamPtrReg().
| void A3PE::dumpPattern | ( | ) |
Definition at line 716 of file A3PE.cpp.
References IOdata::dataU8(), RAM::depth(), Object::info(), IOobject::io(), patternRam(), IOobject::read(), and setReadPatternFifoUsb().
Referenced by BOOST_PYTHON_MODULE(), and toAXRamPtrReg().
| void A3PE::dumpStorage | ( | ) |
Definition at line 641 of file A3PE.cpp.
References IOdata::dataU8(), fifoDepth(), Object::info(), IOobject::io(), IOobject::read(), and storageRam().
Referenced by BOOST_PYTHON_MODULE(), and toAXRamPtrReg().
| void A3PE::dumpToAX | ( | ) |
Definition at line 844 of file A3PE.cpp.
References IOdata::dataU8(), RAM::depth(), Object::info(), IOobject::io(), IOobject::read(), setAddToAXRam(), setReadToAXRamUsb(), and toAXRam().
Referenced by BOOST_PYTHON_MODULE(), and toAXRamPtrReg().
| void A3PE::dumpTrigger | ( | ) |
Definition at line 791 of file A3PE.cpp.
References IOdata::dataU8(), RAM::depth(), Object::info(), IOobject::io(), IOobject::read(), setReadTriggerFifoUsb(), and triggerRam().
Referenced by BOOST_PYTHON_MODULE(), and toAXRamPtrReg().
| bool A3PE::enableADC | ( | unsigned int | adc | ) |
Definition at line 265 of file A3PE.cpp.
References Register::getBit(), and m_setupReg.
Referenced by BOOST_PYTHON_MODULE(), and reset().
| StatusCode A3PE::enableStorage | ( | ) |
Definition at line 383 of file A3PE.cpp.
References shell::data(), IOdata::dataU16(), Object::error(), StatusCode::FAILURE, IOobject::io(), StatusCode::isFailure(), m_acqReg, m_resetReg, Object::name(), IOobject::read(), IOdata::setU16(), StatusCode::SUCCESS, and IOobject::write().
Referenced by BOOST_PYTHON_MODULE(), Acquisition::execute(), and reset().
| unsigned int A3PE::fifoDepth | ( | ) |
Definition at line 631 of file A3PE.cpp.
References shell::data(), IOdata::dataU16(), Object::error(), IOobject::io(), StatusCode::isFailure(), m_writeLengthFifoReg, Object::name(), and IOobject::read().
Referenced by BOOST_PYTHON_MODULE(), dumpStorage(), StorageFifo::initialize(), loadStorage(), and reset().
| unsigned int A3PE::fifoLatency | ( | ) |
Definition at line 599 of file A3PE.cpp.
References shell::data(), IOdata::dataU16(), Object::error(), IOobject::io(), StatusCode::isFailure(), m_latencyReg, Object::name(), and IOobject::read().
Referenced by BOOST_PYTHON_MODULE(), and reset().
|
inline |
Definition at line 552 of file A3PE.h.
References m_fromAXRam.
Referenced by BOOST_PYTHON_MODULE(), dumpFromAX(), A3PE_BitFlip::initialize(), and loadFromAX().
|
inline |
|
inline |
|
inlinevirtual |
printout help for the element
Implements Element.
Definition at line 208 of file A3PE.h.
References Object::info(), and Object::name().
|
inlinevirtual |
init the component
Implements Element.
Definition at line 214 of file A3PE.h.
References StatusCode::SUCCESS.
| bool A3PE::internalAXSequence | ( | ) |
Definition at line 285 of file A3PE.cpp.
References Object::debug(), Register::getBit(), and m_setupReg.
Referenced by BOOST_PYTHON_MODULE(), A3PE_BitFlip::initialize(), and update().
| unsigned int A3PE::latencyAX | ( | ) |
Definition at line 348 of file A3PE.cpp.
References shell::data(), IOdata::dataU32(), Object::error(), IOobject::io(), StatusCode::isFailure(), m_latencyAX, Object::name(), and IOobject::read().
Referenced by BOOST_PYTHON_MODULE(), A3PE_BitFlip::initialize(), and update().
|
inline |
Definition at line 504 of file A3PE.h.
References m_latencyReg.
| unsigned int A3PE::lengthAX | ( | ) |
Definition at line 338 of file A3PE.cpp.
References shell::data(), IOdata::dataU16(), Object::error(), IOobject::io(), StatusCode::isFailure(), m_lengthAX, Object::name(), and IOobject::read().
Referenced by BOOST_PYTHON_MODULE(), dumpFromAX(), A3PE_BitFlip::initialize(), and update().
| void A3PE::loadFromAX | ( | std::string | filename | ) |
Definition at line 911 of file A3PE.cpp.
References shell::data(), IOdata::dataU8(), RAM::depth(), fromAXRam(), Object::info(), IOobject::io(), itos(), setAddFromAXRam(), setWriteFromAXRamUsb(), and IOobject::write().
Referenced by BOOST_PYTHON_MODULE(), and toAXRamPtrReg().
| void A3PE::loadPattern | ( | std::string | filename | ) |
Definition at line 747 of file A3PE.cpp.
References shell::data(), IOdata::dataU8(), RAM::depth(), Object::info(), IOobject::io(), itos(), patternRam(), and IOobject::write().
Referenced by BOOST_PYTHON_MODULE(), and toAXRamPtrReg().
| void A3PE::loadStorage | ( | std::string | filename | ) |
Definition at line 670 of file A3PE.cpp.
References shell::data(), IOdata::dataU8(), fifoDepth(), Object::info(), IOobject::io(), itos(), setWriteStorageFifoUsb(), storageRam(), and IOobject::write().
Referenced by BOOST_PYTHON_MODULE(), and toAXRamPtrReg().
| void A3PE::loadToAX | ( | std::string | filename | ) |
Definition at line 858 of file A3PE.cpp.
References shell::data(), IOdata::dataU8(), RAM::depth(), Object::info(), IOobject::io(), itos(), setAddToAXRam(), setAXRamUsb(), toAXRam(), and IOobject::write().
Referenced by BOOST_PYTHON_MODULE(), A3PE_BitFlip::initialize(), and toAXRamPtrReg().
| void A3PE::loadTrigger | ( | std::string | filename | ) |
Definition at line 809 of file A3PE.cpp.
References shell::data(), IOdata::dataU8(), RAM::depth(), Object::info(), IOobject::io(), itos(), triggerRam(), Object::warning(), and IOobject::write().
Referenced by BOOST_PYTHON_MODULE(), and toAXRamPtrReg().
| unsigned int A3PE::nTrigger | ( | ) |
Definition at line 568 of file A3PE.cpp.
References shell::data(), IOdata::dataU32(), Object::error(), IOobject::io(), StatusCode::isFailure(), m_triggerReg, Object::name(), and IOobject::read().
Referenced by BOOST_PYTHON_MODULE(), and reset().
|
inline |
Definition at line 540 of file A3PE.h.
References m_patternRam.
Referenced by BOOST_PYTHON_MODULE(), dumpPattern(), and loadPattern().
| unsigned int A3PE::pipeline | ( | ) |
Definition at line 307 of file A3PE.cpp.
References IOdata::dataU16(), Object::error(), IOobject::io(), StatusCode::isFailure(), m_acqReg, Object::name(), and IOobject::read().
Referenced by BOOST_PYTHON_MODULE(), and update().
| bool A3PE::readPatternFifoUsb | ( | ) |
Definition at line 253 of file A3PE.cpp.
References Register::getBit(), and m_setupReg.
Referenced by BOOST_PYTHON_MODULE(), and reset().
| bool A3PE::readToAXRamUsb | ( | ) |
Definition at line 272 of file A3PE.cpp.
References Register::getBit(), and m_setupReg.
Referenced by BOOST_PYTHON_MODULE(), and reset().
| bool A3PE::readTriggerFifoUsb | ( | ) |
Definition at line 258 of file A3PE.cpp.
References Register::getBit(), and m_setupReg.
Referenced by BOOST_PYTHON_MODULE(), and reset().
|
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 225 of file A3PE.h.
References acquisition(), clockDivision(), dataReady(), enableADC(), enableStorage(), Object::error(), fifoDepth(), fifoLatency(), Object::info(), IOobject::io(), StatusCode::isFailure(), m_globalUsbReset, m_resetReg, Object::name(), nTrigger(), readPatternFifoUsb(), readToAXRamUsb(), readTriggerFifoUsb(), resetAcquisitionWriteCounter(), resetFE(), resetFromAXRam(), resetLatencyCounter(), resetPatternFifo(), resetSequenceFromToAX(), resetSPI(), resetStorageFifo(), resetToAXRam(), resetTriggerFifo(), resetUsbPhasers(), seqPulseDelay(), setAXRamUsb(), setClockDivision(), setEnableADC(), setFifoDepth(), setFifoLatency(), setNTrigger(), setReadPatternFifoUsb(), setReadToAXRamUsb(), setReadTriggerFifoUsb(), setSeqPulseDelay(), setSoftwareTrigger(), setTriggerDelay(), setTriggerRate(), IOdata::setU16(), setWriteFromAXRamUsb(), setWriteStorageFifoUsb(), softwareTrigger(), startSequenceAX(), trigger(), triggerDelay(), triggerRate(), IOobject::write(), writeFromAXRamUsb(), and writeStorageFifoUsb().
Referenced by BOOST_PYTHON_MODULE(), and Proto40MHz_v1::reset().
| StatusCode A3PE::resetAcquisitionWriteCounter | ( | ) |
Definition at line 42 of file A3PE.cpp.
References Object::info(), m_resetReg, and Register::setBit().
Referenced by reset().
| StatusCode A3PE::resetFE | ( | ) |
Definition at line 72 of file A3PE.cpp.
References Object::info(), m_resetReg, and Register::setBit().
Referenced by BOOST_PYTHON_MODULE(), and reset().
| StatusCode A3PE::resetFromAXRam | ( | ) |
Definition at line 62 of file A3PE.cpp.
References Object::info(), m_resetReg, and Register::setBit().
Referenced by BOOST_PYTHON_MODULE(), and reset().
| StatusCode A3PE::resetLatencyCounter | ( | ) |
Definition at line 37 of file A3PE.cpp.
References Object::info(), m_resetReg, and Register::setBit().
Referenced by BOOST_PYTHON_MODULE(), and reset().
| StatusCode A3PE::resetPatternFifo | ( | ) |
Definition at line 47 of file A3PE.cpp.
References Object::info(), m_resetReg, and Register::setBit().
Referenced by BOOST_PYTHON_MODULE(), and reset().
|
inline |
| StatusCode A3PE::resetSequenceFromToAX | ( | ) |
Definition at line 67 of file A3PE.cpp.
References Object::info(), m_resetReg, and Register::setBit().
Referenced by BOOST_PYTHON_MODULE(), and reset().
| StatusCode A3PE::resetSPI | ( | ) |
Definition at line 77 of file A3PE.cpp.
References Object::info(), m_resetReg, and Register::setBit().
Referenced by BOOST_PYTHON_MODULE(), and reset().
| StatusCode A3PE::resetStorageFifo | ( | ) |
Definition at line 27 of file A3PE.cpp.
References Object::info(), m_resetReg, and Register::setBit().
Referenced by BOOST_PYTHON_MODULE(), and reset().
| StatusCode A3PE::resetToAXRam | ( | ) |
Definition at line 57 of file A3PE.cpp.
References Object::info(), m_resetReg, and Register::setBit().
Referenced by BOOST_PYTHON_MODULE(), and reset().
| StatusCode A3PE::resetTriggerFifo | ( | ) |
Definition at line 52 of file A3PE.cpp.
References Object::info(), m_resetReg, and Register::setBit().
Referenced by BOOST_PYTHON_MODULE(), and reset().
| StatusCode A3PE::resetUsbPhasers | ( | ) |
Definition at line 32 of file A3PE.cpp.
References Object::info(), m_resetReg, and Register::setBit().
Referenced by BOOST_PYTHON_MODULE(), and reset().
| unsigned int A3PE::seqPulseDelay | ( | ) |
Referenced by reset().
| StatusCode A3PE::setAddFromAXRam | ( | int | add | ) |
Definition at line 190 of file A3PE.cpp.
References Object::debug(), Object::error(), StatusCode::FAILURE, IOobject::io(), StatusCode::isFailure(), itos(), m_fromAXRamPtr, Object::name(), IOdata::setU16(), StatusCode::SUCCESS, and IOobject::write().
Referenced by BOOST_PYTHON_MODULE(), dumpFromAX(), A3PE_BitFlip::execute(), loadFromAX(), startSequenceAX(), and toAXRamPtrReg().
| StatusCode A3PE::setAddToAXRam | ( | int | add | ) |
Definition at line 179 of file A3PE.cpp.
References Object::debug(), Object::error(), StatusCode::FAILURE, IOobject::io(), StatusCode::isFailure(), itos(), m_toAXRamPtr, Object::name(), IOdata::setU16(), StatusCode::SUCCESS, and IOobject::write().
Referenced by BOOST_PYTHON_MODULE(), dumpToAX(), loadToAX(), A3PE_BitFlip::randomValues(), startSequenceAX(), and toAXRamPtrReg().
| StatusCode A3PE::setAXRamUsb | ( | bool | enable | ) |
Definition at line 225 of file A3PE.cpp.
References Object::debug(), Object::error(), StatusCode::FAILURE, StatusCode::isFailure(), itos(), m_setupReg, Register::setBit(), and StatusCode::SUCCESS.
Referenced by dumpFromAX(), A3PE_BitFlip::execute(), loadToAX(), A3PE_BitFlip::randomValues(), reset(), and startSequenceAX().
| StatusCode A3PE::setClockDivision | ( | unsigned int | val | ) |
Definition at line 429 of file A3PE.cpp.
References shell::data(), IOdata::dataU32(), Object::error(), StatusCode::FAILURE, Object::info(), IOobject::io(), StatusCode::isFailure(), itos(), m_clockDivisionReg, Object::name(), IOobject::read(), IOdata::setU32(), StatusCode::SUCCESS, and IOobject::write().
Referenced by BOOST_PYTHON_MODULE(), and reset().
| StatusCode A3PE::setEnableADC | ( | unsigned int | adc, |
| bool | enable | ||
| ) |
Definition at line 87 of file A3PE.cpp.
References StatusCode::FAILURE, Object::info(), itos(), m_setupReg, Register::setBit(), and Object::warning().
Referenced by BOOST_PYTHON_MODULE(), StorageFifoAcquisition::initialize(), StorageFifo::initialize(), Acquisition::initialize(), and reset().
| StatusCode A3PE::setFifoDepth | ( | unsigned int | val | ) |
Definition at line 612 of file A3PE.cpp.
References shell::data(), IOdata::dataU16(), Object::error(), StatusCode::FAILURE, Object::info(), IOobject::io(), StatusCode::isFailure(), itos(), m_storageRam, m_writeLengthFifoReg, Object::name(), IOobject::read(), RAM::setSize(), IOdata::setU16(), StatusCode::SUCCESS, and IOobject::write().
Referenced by BOOST_PYTHON_MODULE(), StorageFifoAcquisition::initialize(), Acquisition::initialize(), and reset().
| StatusCode A3PE::setFifoLatency | ( | unsigned short | val | ) |
Definition at line 581 of file A3PE.cpp.
References shell::data(), IOdata::dataU16(), Object::error(), StatusCode::FAILURE, Object::info(), IOobject::io(), StatusCode::isFailure(), itos(), m_latencyReg, Object::name(), IOobject::read(), IOdata::setU16(), StatusCode::SUCCESS, and IOobject::write().
Referenced by BOOST_PYTHON_MODULE(), and reset().
| StatusCode A3PE::setInternalAXSequence | ( | bool | mode | ) |
Definition at line 280 of file A3PE.cpp.
References Object::info(), itos(), m_setupReg, and Register::setBit().
Referenced by BOOST_PYTHON_MODULE(), and update().
| StatusCode A3PE::setLatencyAX | ( | unsigned int | val | ) |
Definition at line 327 of file A3PE.cpp.
References Object::debug(), Object::error(), StatusCode::FAILURE, IOobject::io(), StatusCode::isFailure(), itos(), m_latencyAX, Object::name(), IOdata::setU32(), StatusCode::SUCCESS, and IOobject::write().
Referenced by BOOST_PYTHON_MODULE(), A3PE_BitFlip::execute(), A3PE_BitFlip::finalize(), and update().
| StatusCode A3PE::setLengthAX | ( | unsigned int | val | ) |
Definition at line 316 of file A3PE.cpp.
References Object::debug(), Object::error(), StatusCode::FAILURE, IOobject::io(), StatusCode::isFailure(), itos(), m_lengthAX, Object::name(), IOdata::setU16(), StatusCode::SUCCESS, and IOobject::write().
Referenced by BOOST_PYTHON_MODULE(), and update().
| StatusCode A3PE::setNTrigger | ( | unsigned int | val | ) |
Definition at line 549 of file A3PE.cpp.
References shell::data(), IOdata::dataU32(), Object::error(), StatusCode::FAILURE, Object::info(), IOobject::io(), StatusCode::isFailure(), itos(), m_triggerReg, Object::name(), IOobject::read(), IOdata::setU32(), StatusCode::SUCCESS, and IOobject::write().
Referenced by BOOST_PYTHON_MODULE(), and reset().
| StatusCode A3PE::setPipeline | ( | unsigned int | val | ) |
Definition at line 290 of file A3PE.cpp.
References shell::data(), IOdata::dataU16(), Object::error(), StatusCode::FAILURE, Object::info(), IOobject::io(), StatusCode::isFailure(), itos(), m_acqReg, Object::name(), IOobject::read(), IOdata::setU16(), StatusCode::SUCCESS, Object::warning(), and IOobject::write().
Referenced by BOOST_PYTHON_MODULE(), and update().
| StatusCode A3PE::setReadPatternFifoUsb | ( | bool | enable | ) |
Definition at line 124 of file A3PE.cpp.
References Object::error(), StatusCode::FAILURE, Object::info(), StatusCode::isFailure(), m_setupReg, Register::setBit(), and StatusCode::SUCCESS.
Referenced by BOOST_PYTHON_MODULE(), dumpPattern(), and reset().
| StatusCode A3PE::setReadToAXRamUsb | ( | bool | enable | ) |
Definition at line 201 of file A3PE.cpp.
References Object::debug(), Object::error(), StatusCode::FAILURE, StatusCode::isFailure(), m_setupReg, Register::setBit(), and StatusCode::SUCCESS.
Referenced by BOOST_PYTHON_MODULE(), dumpToAX(), and reset().
| StatusCode A3PE::setReadTriggerFifoUsb | ( | bool | enable | ) |
Definition at line 152 of file A3PE.cpp.
References Object::error(), StatusCode::FAILURE, Object::info(), StatusCode::isFailure(), m_setupReg, Register::setBit(), and StatusCode::SUCCESS.
Referenced by BOOST_PYTHON_MODULE(), dumpTrigger(), and reset().
| StatusCode A3PE::setSeqPulseDelay | ( | unsigned | int | ) |
Referenced by reset().
| StatusCode A3PE::setSoftwareTrigger | ( | bool | enable | ) |
Definition at line 368 of file A3PE.cpp.
References Object::error(), StatusCode::FAILURE, Object::info(), StatusCode::isFailure(), itos(), m_acqReg, Register::setBit(), and StatusCode::SUCCESS.
Referenced by BOOST_PYTHON_MODULE(), StorageFifoAcquisition::initialize(), StorageFifo::initialize(), Acquisition::initialize(), and reset().
| StatusCode A3PE::setTriggerDelay | ( | unsigned int | val | ) |
Definition at line 461 of file A3PE.cpp.
References shell::data(), IOdata::dataU32(), Object::error(), StatusCode::FAILURE, Object::info(), IOobject::io(), StatusCode::isFailure(), itos(), m_triggerReg, Object::name(), IOobject::read(), IOdata::setU32(), StatusCode::SUCCESS, and IOobject::write().
Referenced by BOOST_PYTHON_MODULE(), and reset().
| StatusCode A3PE::setTriggerRate | ( | unsigned int | val | ) |
Definition at line 520 of file A3PE.cpp.
References shell::data(), IOdata::dataU32(), Object::error(), StatusCode::FAILURE, Object::info(), IOobject::io(), StatusCode::isFailure(), itos(), m_triggerReg, Object::name(), IOobject::read(), IOdata::setU32(), StatusCode::SUCCESS, and IOobject::write().
Referenced by BOOST_PYTHON_MODULE(), and reset().
|
inline |
| StatusCode A3PE::setWriteFromAXRamUsb | ( | bool | enable | ) |
Definition at line 213 of file A3PE.cpp.
References Object::debug(), Object::error(), StatusCode::FAILURE, StatusCode::isFailure(), m_setupReg, Register::setBit(), and StatusCode::SUCCESS.
Referenced by BOOST_PYTHON_MODULE(), loadFromAX(), and reset().
| StatusCode A3PE::setWriteStorageFifoUsb | ( | bool | enable | ) |
Definition at line 99 of file A3PE.cpp.
References Object::error(), StatusCode::FAILURE, Object::info(), StatusCode::isFailure(), m_setupReg, Register::setBit(), and StatusCode::SUCCESS.
Referenced by BOOST_PYTHON_MODULE(), StorageFifo::initialize(), StorageFifoAcquisition::initialize(), Acquisition::initialize(), loadStorage(), and reset().
| bool A3PE::softwareTrigger | ( | ) |
Definition at line 379 of file A3PE.cpp.
References Register::getBit(), and m_acqReg.
Referenced by BOOST_PYTHON_MODULE(), and reset().
|
inline |
| StatusCode A3PE::startSequenceAX | ( | ) |
Definition at line 949 of file A3PE.cpp.
References Object::error(), StatusCode::FAILURE, StatusCode::isFailure(), m_acqReg, setAddFromAXRam(), setAddToAXRam(), setAXRamUsb(), Register::setBit(), and StatusCode::SUCCESS.
Referenced by BOOST_PYTHON_MODULE(), A3PE_BitFlip::execute(), and reset().
|
inline |
|
inline |
Definition at line 536 of file A3PE.h.
References m_storageRam.
Referenced by BOOST_PYTHON_MODULE(), dumpStorage(), StorageFifo::initialize(), StorageFifoAcquisition::initialize(), Acquisition::initialize(), and loadStorage().
|
inline |
|
inline |
Definition at line 548 of file A3PE.h.
References m_toAXRam.
Referenced by BOOST_PYTHON_MODULE(), dumpToAX(), A3PE_BitFlip::initialize(), and loadToAX().
|
inline |
Definition at line 564 of file A3PE.h.
References dumpFromAX(), dumpPattern(), dumpStorage(), dumpToAX(), dumpTrigger(), loadFromAX(), loadPattern(), loadStorage(), loadToAX(), loadTrigger(), m_toAXRamPtr, setAddFromAXRam(), and setAddToAXRam().
|
inline |
| StatusCode A3PE::trigger | ( | ) |
Definition at line 363 of file A3PE.cpp.
References Object::debug(), m_acqReg, and Register::setBit().
Referenced by BOOST_PYTHON_MODULE(), Acquisition::execute(), and reset().
| unsigned int A3PE::triggerDelay | ( | ) |
Definition at line 480 of file A3PE.cpp.
References shell::data(), IOdata::dataU32(), Object::error(), IOobject::io(), StatusCode::isFailure(), m_triggerReg, Object::name(), and IOobject::read().
Referenced by BOOST_PYTHON_MODULE(), and reset().
|
inline |
Definition at line 544 of file A3PE.h.
References m_triggerRam.
Referenced by BOOST_PYTHON_MODULE(), dumpTrigger(), and loadTrigger().
| unsigned int A3PE::triggerRate | ( | ) |
Definition at line 539 of file A3PE.cpp.
References shell::data(), IOdata::dataU32(), Object::error(), IOobject::io(), StatusCode::isFailure(), m_triggerReg, Object::name(), and IOobject::read().
Referenced by BOOST_PYTHON_MODULE(), and reset().
|
inline |
Definition at line 520 of file A3PE.h.
References m_triggerReg.
Referenced by BOOST_PYTHON_MODULE().
|
inlinevirtual |
Update the Element configuration from the actual hardware
Implements Element.
Definition at line 465 of file A3PE.h.
References internalAXSequence(), latencyAX(), lengthAX(), pipeline(), setInternalAXSequence(), setLatencyAX(), setLengthAX(), and setPipeline().
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().
| bool A3PE::writeFromAXRamUsb | ( | ) |
Definition at line 276 of file A3PE.cpp.
References Register::getBit(), and m_setupReg.
Referenced by BOOST_PYTHON_MODULE(), and reset().
|
inline |
Definition at line 508 of file A3PE.h.
References m_writeLengthFifoReg.
Referenced by BOOST_PYTHON_MODULE().
| bool A3PE::writeStorageFifoUsb | ( | ) |
Definition at line 248 of file A3PE.cpp.
References Register::getBit(), and m_setupReg.
Referenced by BOOST_PYTHON_MODULE(), and reset().
|
private |
Definition at line 592 of file A3PE.h.
Referenced by A3PE(), acqReg(), acquisition(), dataReady(), enableStorage(), pipeline(), setPipeline(), setSoftwareTrigger(), softwareTrigger(), startSequenceAX(), and trigger().
|
private |
Definition at line 596 of file A3PE.h.
Referenced by A3PE(), clockDivision(), clockDivisionReg(), and setClockDivision().
|
private |
Definition at line 595 of file A3PE.h.
Referenced by A3PE(), and ctrlAnaMezzReg().
|
private |
|
private |
Definition at line 607 of file A3PE.h.
Referenced by A3PE(), and fromAXRam().
|
private |
Definition at line 605 of file A3PE.h.
Referenced by A3PE(), fromAXRamPtrReg(), and setAddFromAXRam().
|
private |
Definition at line 599 of file A3PE.h.
Referenced by A3PE(), and fromAXReg().
|
private |
|
private |
Definition at line 608 of file A3PE.h.
Referenced by A3PE(), latencyAX(), and setLatencyAX().
|
private |
Definition at line 593 of file A3PE.h.
Referenced by A3PE(), fifoLatency(), latencyReg(), and setFifoLatency().
|
private |
Definition at line 609 of file A3PE.h.
Referenced by A3PE(), lengthAX(), and setLengthAX().
|
private |
Definition at line 602 of file A3PE.h.
Referenced by A3PE(), and patternRam().
|
private |
Definition at line 589 of file A3PE.h.
Referenced by A3PE(), enableStorage(), reset(), resetAcquisitionWriteCounter(), resetFE(), resetFromAXRam(), resetLatencyCounter(), resetPatternFifo(), resetReg(), resetSequenceFromToAX(), resetSPI(), resetStorageFifo(), resetToAXRam(), resetTriggerFifo(), and resetUsbPhasers().
|
private |
Definition at line 590 of file A3PE.h.
Referenced by A3PE(), enableADC(), internalAXSequence(), readPatternFifoUsb(), readToAXRamUsb(), readTriggerFifoUsb(), setAXRamUsb(), setEnableADC(), setInternalAXSequence(), setReadPatternFifoUsb(), setReadToAXRamUsb(), setReadTriggerFifoUsb(), setupReg(), setWriteFromAXRamUsb(), setWriteStorageFifoUsb(), writeFromAXRamUsb(), and writeStorageFifoUsb().
|
private |
Definition at line 600 of file A3PE.h.
Referenced by A3PE(), and spare3Reg().
|
private |
Definition at line 591 of file A3PE.h.
Referenced by A3PE(), and statusReg().
|
private |
Definition at line 601 of file A3PE.h.
Referenced by A3PE(), setFifoDepth(), and storageRam().
|
private |
|
private |
|
private |
Definition at line 604 of file A3PE.h.
Referenced by A3PE(), setAddToAXRam(), and toAXRamPtrReg().
|
private |
|
private |
Definition at line 603 of file A3PE.h.
Referenced by A3PE(), and triggerRam().
|
private |
Definition at line 597 of file A3PE.h.
Referenced by A3PE(), nTrigger(), setNTrigger(), setTriggerDelay(), setTriggerRate(), triggerDelay(), triggerRate(), and triggerReg().
|
private |
Definition at line 594 of file A3PE.h.
Referenced by A3PE(), fifoDepth(), setFifoDepth(), and writeLengthFifoReg().
1.8.13