Cat
|
#include <SeqPGA.h>
Public Types | |
typedef unsigned long | U32 |
typedef unsigned short | U16 |
typedef unsigned char | U8 |
![]() | |
enum | Attribut { UNDEFINED, PASSIVE, ACTIVE, INTERFACE, IO, IODATA, ELEMENT, HARDWARE, PROCESSUS, SOFTWARE } |
Public Member Functions | |
SeqPGA () | |
virtual | ~SeqPGA () |
void | help () |
Destructor. More... | |
StatusCode | init () |
void | reset () |
void | resetSpi () |
void | update () |
UsbFTMLInterface * | usb () |
UsbMLI2cBus * | i2c () |
UsbMLSpiBus * | spi () |
Register * | reg () |
Register * | setupReg () |
Register * | masterI2cReg () |
Register * | addI2cReg () |
StatusCode | testSequence () |
StatusCode | setExtTrig (bool) |
bool | extTrig () |
StatusCode | setSpiGBTSCA (bool) |
bool | spiGBTSCA () |
StatusCode | setSpiEnable (bool) |
bool | spiEnable () |
StatusCode | setLedEnable (bool) |
bool | ledEnable () |
StatusCode | setSpiAdd (unsigned long int) |
unsigned long int | spiAdd () |
StatusCode | setSpiSubAdd (unsigned long int) |
unsigned long int | spiSubAdd () |
StatusCode | spiRead (unsigned int, unsigned int, unsigned int *) |
StatusCode | spiWrite (unsigned int, unsigned int, unsigned int *) |
PyObject * | spiRead (unsigned int, unsigned int) |
StatusCode | spiWrite (unsigned int, unsigned int, PyObject *) |
unsigned int | spiRead (unsigned int) |
StatusCode | spiWrite (unsigned int, unsigned int) |
StatusCode | setI2cGBTSCA (bool) |
bool | i2cGBTSCA () |
StatusCode | setI2cBuffer (unsigned long int) |
unsigned long int | i2cBuffer () |
unsigned long int | i2cData () |
StatusCode | setI2cAdd (unsigned long int) |
unsigned long int | i2cAdd () |
StatusCode | setI2cSubAdd (unsigned long int) |
unsigned long int | i2cSubAdd () |
StatusCode | i2cRead () |
StatusCode | i2cWrite () |
unsigned long int | i2cRead (unsigned long int) |
StatusCode | i2cWrite (unsigned long int, unsigned long int) |
StatusCode | transmitSpi () |
![]() | |
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 | |
UsbFTMLInterface * | m_usb |
UsbMLI2cBus * | m_usbi2c |
UsbMLSpiBus * | m_usbspi |
Register * | m_reg |
Register * | m_statusReg |
Register * | m_setupReg |
Register * | m_resetReg |
Register * | m_testSeqReg |
RAM * | m_txSpiFifo |
RAM * | m_rxSpiFifo |
Register * | m_addSpiReg |
Register * | m_ctrlSpiReg |
Register * | m_transmitSpiReg |
unsigned int | m_spiSubAdd |
unsigned int | m_i2cSubAdd |
unsigned int | m_i2cBuffer |
Register * | m_masterI2cReg |
Register * | m_addI2cReg |
Additional Inherited Members | |
![]() | |
Hierarchy * | m_connection |
![]() | |
std::string | m_attribString [10] |
typedef unsigned short SeqPGA::U16 |
typedef unsigned long SeqPGA::U32 |
typedef unsigned char SeqPGA::U8 |
SeqPGA::SeqPGA | ( | ) |
Definition at line 29 of file SeqPGA.cpp.
References Attrib::add(), Hierarchy::addChild(), IOdata::Byte, Object::debug(), IOdata::defDataU8(), Attrib::ELEMENT, Attrib::HARDWARE, IOobject::io(), m_addI2cReg, m_addSpiReg, m_ctrlSpiReg, m_masterI2cReg, m_reg, m_resetReg, m_rxSpiFifo, m_setupReg, m_statusReg, m_testSeqReg, m_transmitSpiReg, m_txSpiFifo, m_usb, m_usbi2c, m_usbspi, IOdata::setAddress(), IOobject::setAddress(), Object::setId(), Object::setName(), RAM::setSize(), Object::setType(), and IOdata::setWordSize().
|
inline |
Definition at line 94 of file SeqPGA.h.
References m_addI2cReg.
Referenced by BOOST_PYTHON_MODULE().
bool SeqPGA::extTrig | ( | ) |
Definition at line 151 of file SeqPGA.cpp.
References IOdata::dataU8(), IOobject::io(), m_setupReg, and IOobject::read().
Referenced by BOOST_PYTHON_MODULE(), FEB_v1::extTrig(), and testSequence().
|
inlinevirtual |
Destructor.
printout help for the element
Implements Element.
Definition at line 36 of file SeqPGA.h.
References Object::info(), and Object::name().
|
inline |
unsigned long int SeqPGA::i2cAdd | ( | ) |
Definition at line 488 of file SeqPGA.cpp.
References IOdata::dataU8(), IOobject::io(), m_addI2cReg, and IOobject::read().
Referenced by BOOST_PYTHON_MODULE(), and testSequence().
unsigned long int SeqPGA::i2cBuffer | ( | ) |
Definition at line 465 of file SeqPGA.cpp.
References m_i2cBuffer.
Referenced by BOOST_PYTHON_MODULE(), and testSequence().
unsigned long int SeqPGA::i2cData | ( | ) |
Definition at line 473 of file SeqPGA.cpp.
References IOdata::dataU8(), IOobject::io(), and m_masterI2cReg.
Referenced by BOOST_PYTHON_MODULE(), i2cRead(), and testSequence().
bool SeqPGA::i2cGBTSCA | ( | ) |
Definition at line 451 of file SeqPGA.cpp.
References IOdata::dataU8(), IOobject::io(), m_setupReg, and IOobject::read().
Referenced by BOOST_PYTHON_MODULE(), and testSequence().
StatusCode SeqPGA::i2cRead | ( | ) |
Definition at line 510 of file SeqPGA.cpp.
References shell::data(), IOdata::dataU8(), Object::debug(), IOdata::defDataU8(), IOobject::io(), m_i2cSubAdd, m_masterI2cReg, m_setupReg, IOobject::read(), IOdata::setU8(), StatusCode::SUCCESS, and IOobject::write().
Referenced by BOOST_PYTHON_MODULE(), TestI2C::execute(), FEB_v1::gbt80MHzClkEport(), FEB_v1::gbtClockStrength(), FEB_v1::gbtDataPath(), FEB_v1::gbtDLLEport(), FEB_v1::gbtDLLReset(), FEB_v1::gbtEnableEport(), FEB_v1::gbtMode(), FEB_v1::gbtStatus(), FEB_v1::gbtTermEport(), FEB_v1::gbtTrackMode(), i2cRead(), and testSequence().
unsigned long int SeqPGA::i2cRead | ( | unsigned long int | subadd | ) |
unsigned long int SeqPGA::i2cSubAdd | ( | ) |
Definition at line 502 of file SeqPGA.cpp.
References m_i2cSubAdd.
Referenced by BOOST_PYTHON_MODULE(), and testSequence().
StatusCode SeqPGA::i2cWrite | ( | ) |
Definition at line 535 of file SeqPGA.cpp.
References shell::data(), IOdata::dataU8(), Object::debug(), IOdata::defDataU8(), IOobject::io(), m_i2cBuffer, m_i2cSubAdd, m_masterI2cReg, m_setupReg, IOobject::read(), IOdata::setU8(), and IOobject::write().
Referenced by BOOST_PYTHON_MODULE(), TestI2C::execute(), FEB_v1::gbtAcknowledgeConfig(), FEB_v1::gbtDLLReset(), i2cWrite(), FEB_v1::setGbt80MHzClkEport(), FEB_v1::setGbtClockStrength(), FEB_v1::setGbtDataPath(), FEB_v1::setGbtDLLEport(), FEB_v1::setGbtEnableEport(), FEB_v1::setGbtMode(), FEB_v1::setGbtTermEport(), FEB_v1::setGbtTrackMode(), and testSequence().
StatusCode SeqPGA::i2cWrite | ( | unsigned long int | subadd, |
unsigned long int | value | ||
) |
Definition at line 562 of file SeqPGA.cpp.
References i2cWrite(), setI2cBuffer(), and setI2cSubAdd().
|
inlinevirtual |
init the component
Implements Element.
Definition at line 42 of file SeqPGA.h.
References StatusCode::SUCCESS.
bool SeqPGA::ledEnable | ( | ) |
Definition at line 215 of file SeqPGA.cpp.
References IOdata::dataU8(), IOobject::io(), m_setupReg, and IOobject::read().
Referenced by BOOST_PYTHON_MODULE(), and testSequence().
|
inline |
Definition at line 93 of file SeqPGA.h.
References m_masterI2cReg.
Referenced by BOOST_PYTHON_MODULE().
|
inline |
|
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 54 of file SeqPGA.h.
References Object::info(), IOobject::io(), m_resetReg, IOdata::setU8(), and IOobject::write().
Referenced by FEB_v1::reset().
|
inline |
Definition at line 61 of file SeqPGA.h.
References Object::debug(), IOobject::io(), m_resetReg, IOdata::setU8(), and IOobject::write().
Referenced by FEB_v1::resetSpi().
StatusCode SeqPGA::setExtTrig | ( | bool | value | ) |
Definition at line 142 of file SeqPGA.cpp.
References shell::data(), IOdata::dataU8(), IOobject::io(), m_setupReg, IOobject::read(), IOdata::setU8(), and IOobject::write().
Referenced by BOOST_PYTHON_MODULE(), FEB_v1::setExtTrig(), and testSequence().
StatusCode SeqPGA::setI2cAdd | ( | unsigned long int | value | ) |
Definition at line 482 of file SeqPGA.cpp.
References IOobject::io(), m_addI2cReg, IOdata::setU8(), and IOobject::write().
Referenced by BOOST_PYTHON_MODULE(), FEB_v1::gbt80MHzClkEport(), FEB_v1::gbtAcknowledgeConfig(), FEB_v1::gbtClockStrength(), FEB_v1::gbtDataPath(), FEB_v1::gbtDLLEport(), FEB_v1::gbtDLLReset(), FEB_v1::gbtEnableEport(), FEB_v1::gbtMode(), FEB_v1::gbtStatus(), FEB_v1::gbtTermEport(), FEB_v1::gbtTrackMode(), TestI2C::initialize(), FEB_v1::setGbt80MHzClkEport(), FEB_v1::setGbtClockStrength(), FEB_v1::setGbtDataPath(), FEB_v1::setGbtDLLEport(), FEB_v1::setGbtEnableEport(), FEB_v1::setGbtMode(), FEB_v1::setGbtTermEport(), FEB_v1::setGbtTrackMode(), and testSequence().
StatusCode SeqPGA::setI2cBuffer | ( | unsigned long int | value | ) |
Definition at line 460 of file SeqPGA.cpp.
References m_i2cBuffer, and StatusCode::SUCCESS.
Referenced by BOOST_PYTHON_MODULE(), i2cWrite(), and testSequence().
StatusCode SeqPGA::setI2cGBTSCA | ( | bool | value | ) |
Definition at line 442 of file SeqPGA.cpp.
References shell::data(), IOdata::dataU8(), IOobject::io(), m_setupReg, IOobject::read(), IOdata::setU8(), and IOobject::write().
Referenced by BOOST_PYTHON_MODULE(), and testSequence().
StatusCode SeqPGA::setI2cSubAdd | ( | unsigned long int | value | ) |
Definition at line 497 of file SeqPGA.cpp.
References m_i2cSubAdd, and StatusCode::SUCCESS.
Referenced by BOOST_PYTHON_MODULE(), i2cRead(), i2cWrite(), and testSequence().
StatusCode SeqPGA::setLedEnable | ( | bool | value | ) |
Definition at line 206 of file SeqPGA.cpp.
References shell::data(), IOdata::dataU8(), IOobject::io(), m_setupReg, IOobject::read(), IOdata::setU8(), and IOobject::write().
Referenced by BOOST_PYTHON_MODULE(), and testSequence().
StatusCode SeqPGA::setSpiAdd | ( | unsigned long int | value | ) |
Definition at line 255 of file SeqPGA.cpp.
References IOobject::io(), m_addSpiReg, IOdata::setU8(), and IOobject::write().
Referenced by BOOST_PYTHON_MODULE(), FEB_v1::calibCte(), FEB_v1::clock80MHzFallingEdge(), FEB_v1::clockFallingEdge(), FEB_v1::clockPhaseEport(), FEB_v1::disableSubtract(), FEB_v1::enableBXIDReset(), FEB_v1::gain4(), FEB_v1::globalPseudoPMEnable(), TestSPI::initialize(), FEB_v1::injectModeFE(), FEB_v1::latency(), FEB_v1::latencyEport(), FEB_v1::latencyLLT(), FEB_v1::maskLLT(), FEB_v1::oldSubtract(), FEB_v1::probeEnable(), FEB_v1::pseudoADCEnable(), FEB_v1::pseudoPMEnable(), FEB_v1::readFifoSpyFE(), FEB_v1::resetFE(), FEB_v1::resetFifoInjectFE(), FEB_v1::resetFifoSpyFE(), FEB_v1::setCalibCte(), FEB_v1::setClock80MHzFallingEdge(), FEB_v1::setClockFallingEdge(), FEB_v1::setDisableSubtract(), FEB_v1::setEnableBXIDReset(), FEB_v1::setGain4(), FEB_v1::setGlobalPseudoPMEnable(), FEB_v1::setInjectModeFE(), FEB_v1::setLatency(), FEB_v1::setLatencyLLT(), FEB_v1::setLatencyLLTCorner(), FEB_v1::setLatencyLLTSideNb(), FEB_v1::setLatencyLLTUpNb(), FEB_v1::setMaskLLT(), FEB_v1::setMaskLLTCorner(), FEB_v1::setMaskLLTSideNb(), FEB_v1::setMaskLLTUpNb(), FEB_v1::setOldSubtract(), FEB_v1::setOutputEport(), FEB_v1::setProbeEnable(), FEB_v1::setPseudoADCEnable(), FEB_v1::setPseudoPMEnable(), FEB_v1::setSpareForTrigEnable(), FEB_v1::setSpyModeFE(), FEB_v1::setSpyModeSeq(), FEB_v1::setStopInjLoop(), FEB_v1::setTestDuration(), FEB_v1::setThreshold(), FEB_v1::spareForTrigEnable(), FEB_v1::spyModeFE(), FEB_v1::spyModeSeq(), FEB_v1::statusRegister(), FEB_v1::stopInjLoop(), FEB_v1::testDuration(), testSequence(), FEB_v1::threshold(), FEB_v1::writeDataFifoInjectFE(), FEB_v1::writeFifoInjectFE(), and FEB_v1::writeFifoLLT().
StatusCode SeqPGA::setSpiEnable | ( | bool | value | ) |
Definition at line 188 of file SeqPGA.cpp.
References shell::data(), IOdata::dataU8(), IOobject::io(), m_setupReg, IOobject::read(), IOdata::setU8(), and IOobject::write().
Referenced by BOOST_PYTHON_MODULE(), and testSequence().
StatusCode SeqPGA::setSpiGBTSCA | ( | bool | value | ) |
Definition at line 165 of file SeqPGA.cpp.
References shell::data(), IOdata::dataU8(), IOobject::io(), m_setupReg, IOobject::read(), IOdata::setU8(), and IOobject::write().
Referenced by BOOST_PYTHON_MODULE(), FEB_v1::readFifoInjectFE(), FEB_v1::readFifoLLT(), FEB_v1::readFifoLLTFE(), and testSequence().
StatusCode SeqPGA::setSpiSubAdd | ( | unsigned long int | value | ) |
Definition at line 278 of file SeqPGA.cpp.
References m_spiSubAdd.
Referenced by BOOST_PYTHON_MODULE(), and testSequence().
|
inline |
Definition at line 91 of file SeqPGA.h.
References m_setupReg.
Referenced by BOOST_PYTHON_MODULE(), TestUSB::initialize(), and TestI2C::initialize().
|
inline |
unsigned long int SeqPGA::spiAdd | ( | ) |
Definition at line 263 of file SeqPGA.cpp.
References IOdata::dataU8(), IOobject::io(), m_addSpiReg, and IOobject::read().
Referenced by BOOST_PYTHON_MODULE(), and testSequence().
bool SeqPGA::spiEnable | ( | ) |
Definition at line 197 of file SeqPGA.cpp.
References IOdata::dataU8(), IOobject::io(), m_setupReg, and IOobject::read().
Referenced by BOOST_PYTHON_MODULE(), and testSequence().
bool SeqPGA::spiGBTSCA | ( | ) |
Definition at line 174 of file SeqPGA.cpp.
References IOdata::dataU8(), IOobject::io(), m_setupReg, and IOobject::read().
Referenced by BOOST_PYTHON_MODULE(), and testSequence().
StatusCode SeqPGA::spiRead | ( | unsigned int | subadd, |
unsigned int | nwords, | ||
unsigned int * | values | ||
) |
Definition at line 337 of file SeqPGA.cpp.
References IOdata::dataU8(), IOobject::io(), m_ctrlSpiReg, m_rxSpiFifo, m_transmitSpiReg, m_txSpiFifo, IOobject::read(), RAM::setSize(), IOdata::setU8(), and IOobject::write().
Referenced by BOOST_PYTHON_MODULE(), FEB_v1::calibCte(), FEB_v1::clock80MHzFallingEdge(), FEB_v1::clockFallingEdge(), FEB_v1::clockPhaseEport(), FEB_v1::disableSubtract(), FEB_v1::enableBXIDReset(), TestSPI::execute(), FEB_v1::gain4(), FEB_v1::globalPseudoPMEnable(), FEB_v1::injectModeFE(), FEB_v1::latency(), FEB_v1::latencyEport(), FEB_v1::latencyLLT(), FEB_v1::maskLLT(), FEB_v1::oldSubtract(), FEB_v1::probeEnable(), FEB_v1::pseudoADCEnable(), FEB_v1::pseudoPMEnable(), FEB_v1::readFifo(), FEB_v1::setCalibCte(), FEB_v1::setClock80MHzFallingEdge(), FEB_v1::setClockFallingEdge(), FEB_v1::setDisableSubtract(), FEB_v1::setEnableBXIDReset(), FEB_v1::setGain4(), FEB_v1::setGlobalPseudoPMEnable(), FEB_v1::setInjectModeFE(), FEB_v1::setLatency(), FEB_v1::setLatencyLLT(), FEB_v1::setLatencyLLTCorner(), FEB_v1::setLatencyLLTSideNb(), FEB_v1::setLatencyLLTUpNb(), FEB_v1::setMaskLLT(), FEB_v1::setMaskLLTCorner(), FEB_v1::setMaskLLTSideNb(), FEB_v1::setMaskLLTUpNb(), FEB_v1::setOldSubtract(), FEB_v1::setProbeEnable(), FEB_v1::setPseudoADCEnable(), FEB_v1::setPseudoPMEnable(), FEB_v1::setSpareForTrigEnable(), FEB_v1::setSpyModeFE(), FEB_v1::setSpyModeSeq(), FEB_v1::setStopInjLoop(), FEB_v1::setTestDuration(), FEB_v1::setThreshold(), FEB_v1::spareForTrigEnable(), FEB_v1::spyModeFE(), FEB_v1::spyModeSeq(), FEB_v1::statusRegister(), FEB_v1::stopInjLoop(), FEB_v1::testDuration(), testSequence(), and FEB_v1::threshold().
PyObject * SeqPGA::spiRead | ( | unsigned int | subadd, |
unsigned int | nwords | ||
) |
Definition at line 377 of file SeqPGA.cpp.
References IOdata::dataU8(), IOobject::io(), m_ctrlSpiReg, m_rxSpiFifo, m_transmitSpiReg, m_txSpiFifo, IOobject::read(), RAM::setSize(), IOdata::setU8(), and IOobject::write().
unsigned int SeqPGA::spiRead | ( | unsigned int | subadd | ) |
Definition at line 420 of file SeqPGA.cpp.
References IOdata::dataU8(), IOobject::io(), m_ctrlSpiReg, m_rxSpiFifo, m_transmitSpiReg, m_txSpiFifo, IOobject::read(), RAM::setSize(), IOdata::setU8(), and IOobject::write().
unsigned long int SeqPGA::spiSubAdd | ( | ) |
Definition at line 282 of file SeqPGA.cpp.
References m_spiSubAdd.
Referenced by BOOST_PYTHON_MODULE(), and testSequence().
StatusCode SeqPGA::spiWrite | ( | unsigned int | subadd, |
unsigned int | nwords, | ||
unsigned int * | values | ||
) |
Definition at line 321 of file SeqPGA.cpp.
References IOobject::io(), m_ctrlSpiReg, m_transmitSpiReg, m_txSpiFifo, RAM::setSize(), IOdata::setU8(), and IOobject::write().
Referenced by BOOST_PYTHON_MODULE(), TestSPI::execute(), FEB_v1::resetFE(), FEB_v1::resetFifoInjectFE(), FEB_v1::resetFifoSpyFE(), FEB_v1::setCalibCte(), FEB_v1::setClock80MHzFallingEdge(), FEB_v1::setClockFallingEdge(), FEB_v1::setDisableSubtract(), FEB_v1::setEnableBXIDReset(), FEB_v1::setGain4(), FEB_v1::setGlobalPseudoPMEnable(), FEB_v1::setInjectModeFE(), FEB_v1::setLatency(), FEB_v1::setLatencyLLT(), FEB_v1::setLatencyLLTCorner(), FEB_v1::setLatencyLLTSideNb(), FEB_v1::setLatencyLLTUpNb(), FEB_v1::setMaskLLT(), FEB_v1::setMaskLLTCorner(), FEB_v1::setMaskLLTSideNb(), FEB_v1::setMaskLLTUpNb(), FEB_v1::setOldSubtract(), FEB_v1::setOutputEport(), FEB_v1::setProbeEnable(), FEB_v1::setPseudoADCEnable(), FEB_v1::setPseudoPMEnable(), FEB_v1::setSpareForTrigEnable(), FEB_v1::setSpyModeFE(), FEB_v1::setSpyModeSeq(), FEB_v1::setStopInjLoop(), FEB_v1::setTestDuration(), FEB_v1::setThreshold(), testSequence(), FEB_v1::writeDataFifoInjectFE(), FEB_v1::writeFifoInjectFE(), FEB_v1::writeFifoLLT(), and FEB_v1::writeFifoSpyFE().
StatusCode SeqPGA::spiWrite | ( | unsigned int | subadd, |
unsigned int | nwords, | ||
PyObject * | value | ||
) |
Definition at line 357 of file SeqPGA.cpp.
References IOobject::io(), m_ctrlSpiReg, m_transmitSpiReg, m_txSpiFifo, RAM::setSize(), IOdata::setU8(), and IOobject::write().
StatusCode SeqPGA::spiWrite | ( | unsigned int | subadd, |
unsigned int | value | ||
) |
Definition at line 404 of file SeqPGA.cpp.
References IOobject::io(), m_ctrlSpiReg, m_transmitSpiReg, m_txSpiFifo, RAM::setSize(), IOdata::setU8(), and IOobject::write().
|
inline |
Definition at line 96 of file SeqPGA.h.
References Object::debug(), extTrig(), i2cAdd(), i2cBuffer(), i2cData(), i2cGBTSCA(), i2cRead(), i2cSubAdd(), i2cWrite(), ledEnable(), m_testSeqReg, setExtTrig(), setI2cAdd(), setI2cBuffer(), setI2cGBTSCA(), setI2cSubAdd(), setLedEnable(), setSpiAdd(), setSpiEnable(), setSpiGBTSCA(), setSpiSubAdd(), spiAdd(), spiEnable(), spiGBTSCA(), spiRead(), spiSubAdd(), spiWrite(), and IOobject::write().
Referenced by BOOST_PYTHON_MODULE(), and FEB_v1::testSequence().
|
inline |
|
inlinevirtual |
Update the Element configuration from the actual hardware
Implements Element.
Definition at line 72 of file SeqPGA.h.
Referenced by 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 75 of file SeqPGA.h.
References m_usb.
Referenced by BOOST_PYTHON_MODULE(), and FEB_v1::FEB_v1().
|
private |
Definition at line 210 of file SeqPGA.h.
Referenced by addI2cReg(), i2cAdd(), SeqPGA(), and setI2cAdd().
|
private |
Definition at line 200 of file SeqPGA.h.
Referenced by SeqPGA(), setSpiAdd(), and spiAdd().
|
private |
Definition at line 201 of file SeqPGA.h.
Referenced by SeqPGA(), spiRead(), and spiWrite().
|
private |
Definition at line 207 of file SeqPGA.h.
Referenced by i2cBuffer(), i2cWrite(), and setI2cBuffer().
|
private |
Definition at line 206 of file SeqPGA.h.
Referenced by i2cRead(), i2cSubAdd(), i2cWrite(), and setI2cSubAdd().
|
private |
Definition at line 209 of file SeqPGA.h.
Referenced by i2cData(), i2cRead(), i2cWrite(), masterI2cReg(), and SeqPGA().
|
private |
|
private |
Definition at line 195 of file SeqPGA.h.
Referenced by reset(), resetSpi(), and SeqPGA().
|
private |
|
private |
Definition at line 194 of file SeqPGA.h.
Referenced by extTrig(), i2cGBTSCA(), i2cRead(), i2cWrite(), ledEnable(), SeqPGA(), setExtTrig(), setI2cGBTSCA(), setLedEnable(), setSpiEnable(), setSpiGBTSCA(), setupReg(), spiEnable(), and spiGBTSCA().
|
private |
Definition at line 205 of file SeqPGA.h.
Referenced by setSpiSubAdd(), and spiSubAdd().
|
private |
|
private |
Definition at line 196 of file SeqPGA.h.
Referenced by SeqPGA(), and testSequence().
|
private |
Definition at line 203 of file SeqPGA.h.
Referenced by SeqPGA(), spiRead(), spiWrite(), and transmitSpi().
|
private |
Definition at line 198 of file SeqPGA.h.
Referenced by SeqPGA(), spiRead(), and spiWrite().
|
private |
|
private |
|
private |