#include <VmeInterface.h>
Inheritance diagram for SctPixelRod::VmeInterface:
Public Types | |
enum | AddrMod { A16, A24, A32 } |
Public Member Functions | |
VmeInterface () | |
Constructor. | |
virtual | ~VmeInterface () |
Destructor. | |
virtual void | declareInterruptHandler (VmeInterruptHandler &handler)=0 |
Install an interrupt handler. | |
virtual void | cleanInterruptHandlers ()=0 |
Uninstall all the handlers. | |
virtual void | removeInterruptHandler (VmeInterruptHandler &handler)=0 |
Remove an interrupt handler. | |
virtual void | activateSoftVector (unsigned char vect, unsigned char subvect)=0 |
Set the interrupt subvector mask. | |
virtual void | reEnableInterrupt ()=0 |
Re-enable VME RORA levels. | |
virtual void | blockInterruptNotification ()=0 |
Suspend interrupt notification. | |
virtual void | resumeInterruptNotification ()=0 |
Resume interrupt notification. | |
virtual void | setInterruptData (long data)=0 |
Set the interrupt data word. | |
virtual long | getInterruptData ()=0 |
Read the interrupt data word. | |
virtual long | getBusErrors ()=0 |
Return the number of bus errors. | |
virtual void | busErrorReport ()=0 |
Throw exceptions in case of bus errors. | |
virtual void | busErrorReport (const unsigned long handle)=0 |
virtual void | busErrorReport (VmePort &port)=0 |
virtual long | getLastErrcode ()=0 |
Return the last error code. | |
virtual std::string | getErrorMessage (const long errcode)=0 |
Print the message corresponding to an error code. | |
virtual unsigned char | read8 (const unsigned long handle, const unsigned long offset)=0 |
Byte read (automatic mapping). | |
virtual unsigned short | read16 (const unsigned long handle, const unsigned long offset)=0 |
virtual unsigned long | read32 (const unsigned long handle, const unsigned long offset)=0 |
Long Word read (automatic mapping). | |
virtual void | write8 (const unsigned long handle, const unsigned long offset, const unsigned char value)=0 |
Byte write (automatic mapping). | |
virtual void | write16 (const unsigned long handle, const unsigned long offset, const unsigned short value)=0 |
Word write (automatic mapping). | |
virtual void | write32 (const unsigned long handle, const unsigned long offset, const unsigned long value)=0 |
Long word write (automatic mapping). | |
virtual void | blockRead32 (VmePort &port, const unsigned long offset, unsigned long *buf, const long len)=0 |
32 bits block read (automatic mapping) | |
virtual void | blockRead64 (VmePort &port, const unsigned long offset, unsigned long *buf, const long len)=0 |
64 bits block read (automatic mapping) | |
virtual void | blockWrite32 (VmePort &port, const unsigned long offset, const unsigned long *buf, const long len)=0 |
32 bits block write (automatic mapping) | |
virtual void | blockWrite64 (VmePort &port, const unsigned long offset, const unsigned long *buf, const long len)=0 |
64 bits block write (automatic mapping) | |
virtual unsigned long | registerPort (VmePort &port)=0 |
Register a new VmePort object. | |
virtual void | deletePort (VmePort &port)=0 |
Delete a VmePort. | |
virtual void * | getPortMap (const unsigned long handle)=0 |
Return a pointer to the port map. |
|
Definition at line 77 of file VmeInterface.h. |
|
Constructor.
Definition at line 80 of file VmeInterface.h. |
|
Destructor.
Definition at line 82 of file VmeInterface.h. |
|
Set the interrupt subvector mask.
Implemented in SctPixelRod::DummyVmeInterface, and SctPixelRod::RCCVmeInterface. Referenced by SctPixelRod::VmeInterruptHandler::activateSoftVector(). |
|
Suspend interrupt notification.
Implemented in SctPixelRod::DummyVmeInterface, and SctPixelRod::RCCVmeInterface. Referenced by SctPixelRod::VmePort::blockInterruptNotification(). |
|
32 bits block read (automatic mapping)
Implemented in SctPixelRod::DummyVmeInterface, and SctPixelRod::RCCVmeInterface. Referenced by SctPixelRod::VmePort::blockRead32(). |
|
64 bits block read (automatic mapping)
Implemented in SctPixelRod::DummyVmeInterface, and SctPixelRod::RCCVmeInterface. Referenced by SctPixelRod::VmePort::blockRead64(). |
|
32 bits block write (automatic mapping)
Implemented in SctPixelRod::DummyVmeInterface, and SctPixelRod::RCCVmeInterface. Referenced by SctPixelRod::VmePort::blockWrite32(). |
|
64 bits block write (automatic mapping)
Implemented in SctPixelRod::DummyVmeInterface, and SctPixelRod::RCCVmeInterface. Referenced by SctPixelRod::VmePort::blockWrite64(). |
|
Implemented in SctPixelRod::DummyVmeInterface, and SctPixelRod::RCCVmeInterface. |
|
Implemented in SctPixelRod::DummyVmeInterface, and SctPixelRod::RCCVmeInterface. |
|
Throw exceptions in case of bus errors.
Implemented in SctPixelRod::DummyVmeInterface, and SctPixelRod::RCCVmeInterface. Referenced by SctPixelRod::VmePort::busErrorReport(). |
|
Uninstall all the handlers.
Implemented in SctPixelRod::DummyVmeInterface, and SctPixelRod::RCCVmeInterface. Referenced by SctPixelRod::VmePort::cleanInterruptHandlers(). |
|
Install an interrupt handler.
Implemented in SctPixelRod::DummyVmeInterface, and SctPixelRod::RCCVmeInterface. Referenced by SctPixelRod::VmePort::declareInterruptHandler(). |
|
Delete a VmePort.
Implemented in SctPixelRod::DummyVmeInterface, and SctPixelRod::RCCVmeInterface. Referenced by SctPixelRod::VmePort::~VmePort(). |
|
Return the number of bus errors.
Implemented in SctPixelRod::DummyVmeInterface, and SctPixelRod::RCCVmeInterface. Referenced by SctPixelRod::VmePort::getBusErrors(). |
|
Print the message corresponding to an error code.
Implemented in SctPixelRod::DummyVmeInterface, and SctPixelRod::RCCVmeInterface. Referenced by SctPixelRod::VmePort::getErrorMessage(). |
|
Read the interrupt data word.
Implemented in SctPixelRod::DummyVmeInterface, and SctPixelRod::RCCVmeInterface. Referenced by SctPixelRod::VmeInterruptHandler::getInterruptData(). |
|
Return the last error code.
Implemented in SctPixelRod::DummyVmeInterface, and SctPixelRod::RCCVmeInterface. Referenced by SctPixelRod::VmePort::getLastErrcode(). |
|
Return a pointer to the port map.
Implemented in SctPixelRod::DummyVmeInterface, and SctPixelRod::RCCVmeInterface. Referenced by SctPixelRod::VmePort::getMap(). |
|
Implemented in SctPixelRod::DummyVmeInterface, and SctPixelRod::RCCVmeInterface. Referenced by SctPixelRod::VmePort::read16(). |
|
Long Word read (automatic mapping).
Implemented in SctPixelRod::DummyVmeInterface, and SctPixelRod::RCCVmeInterface. Referenced by SctPixelRod::VmePort::read32(). |
|
Byte read (automatic mapping).
Implemented in SctPixelRod::DummyVmeInterface, and SctPixelRod::RCCVmeInterface. Referenced by SctPixelRod::VmePort::read8(). |
|
Re-enable VME RORA levels.
Implemented in SctPixelRod::DummyVmeInterface, and SctPixelRod::RCCVmeInterface. Referenced by SctPixelRod::VmePort::reEnableInterrupt(). |
|
Register a new VmePort object.
Implemented in SctPixelRod::DummyVmeInterface, and SctPixelRod::RCCVmeInterface. Referenced by SctPixelRod::VmePort::VmePort(). |
|
Remove an interrupt handler.
Implemented in SctPixelRod::DummyVmeInterface, and SctPixelRod::RCCVmeInterface. Referenced by SctPixelRod::VmePort::removeInterruptHandler(). |
|
Resume interrupt notification.
Implemented in SctPixelRod::DummyVmeInterface, and SctPixelRod::RCCVmeInterface. Referenced by SctPixelRod::VmePort::resumeInterruptNotification(). |
|
Set the interrupt data word.
Implemented in SctPixelRod::DummyVmeInterface, and SctPixelRod::RCCVmeInterface. Referenced by SctPixelRod::VmeInterruptHandler::setInterruptData(). |
|
Word write (automatic mapping).
Implemented in SctPixelRod::DummyVmeInterface, and SctPixelRod::RCCVmeInterface. Referenced by SctPixelRod::VmePort::write16(). |
|
Long word write (automatic mapping).
Implemented in SctPixelRod::DummyVmeInterface, and SctPixelRod::RCCVmeInterface. Referenced by SctPixelRod::VmePort::write32(). |
|
Byte write (automatic mapping).
Implemented in SctPixelRod::DummyVmeInterface, and SctPixelRod::RCCVmeInterface. Referenced by SctPixelRod::VmePort::write8(). |