#include <TimModule.h>
Inheritance diagram for SctPixelRod::TimModule:
Public Member Functions | |
TimModule (UINT32 baseAddr, UINT32 mapSize, VmeInterface &ourInterface) | |
virtual | ~TimModule () |
UINT32 | getFirmware () |
UINT32 | getSerialNumber () |
VmePort * | getVmePort () |
void | initialize () |
Pure virtual method for initialization. | |
void | reset () |
Pure virtual method to reset module. | |
void | status () |
Pure virtual method to report module status. | |
UINT32 | fetchL1ID () |
Read trigger number. | |
UINT16 | fetchTimID () |
Read TIM ID register. | |
void | intTrigStart (const TimMaskFrequency frequency) |
Internal Trigger. | |
void | intTrigStop () |
Stop Internal Trigger. | |
void | issueCommand (const TimBitCommand mask) |
Issue TIM command. | |
void | issueVCAL (const UINT8 pipelineDelay) |
Issue VCAL + L1A command. | |
void | loadBitClear (const TimRegister addr, const UINT16 mask) |
Clear bit. | |
void | loadBitSet (const TimRegister addr, const UINT16 mask) |
Set bit. | |
void | loadByteHi (const TimRegister addr, const UINT8 byte) |
Upper byte. | |
void | loadByteLo (const TimRegister addr, const UINT8 byte) |
Lower byte. | |
UINT16 | regFetch (const TimRegister addr) |
Read from a 16-bit VME register. | |
void | regLoad (const TimRegister addr, const UINT16 data) |
Write to a 16-bit VME register. | |
void | seqFetch (const UINT16 size, UINT16 buffer[]) |
Read sequencer. | |
void | seqLoad (const UINT16 size, const UINT16 buffer[]) |
Load sequencer. | |
void | seqRun (const UINT16 size) |
Run sequencer. | |
UINT16 | vmeFetch (const UINT32 addr) throw (VmeException &) |
Read from a 16-bit VME register. | |
void | vmeLoad (const UINT32 addr, const UINT16 data) throw (VmeException &) |
Write to a 16-bit VME register. | |
Private Attributes | |
UINT32 | m_firmware |
Firmware version number. | |
UINT32 | m_serialNumber |
Board serial number. | |
VmePort * | m_vmePort |
VME Port handle. |
This is the implementation of a TIM class derived from the VmeModule base class. It should be the sole interface for VME communication with TIM.
Contributors: John Lane <jbl@hep.ucl.ac.uk> - originator
Definition at line 76 of file TimModule.h.
|
|
|
|
|
Read trigger number.
|
|
Read TIM ID register.
|
|
Definition at line 89 of file TimModule.h. References m_firmware. |
|
Definition at line 90 of file TimModule.h. References m_serialNumber. |
|
Definition at line 91 of file TimModule.h. References m_vmePort. |
|
Pure virtual method for initialization.
Implements SctPixelRod::VmeModule. |
|
Internal Trigger.
|
|
Stop Internal Trigger.
|
|
Issue TIM command.
|
|
Issue VCAL + L1A command.
|
|
Clear bit.
|
|
Set bit.
|
|
Upper byte.
|
|
Lower byte.
|
|
Read from a 16-bit VME register.
|
|
Write to a 16-bit VME register.
|
|
Pure virtual method to reset module.
Implements SctPixelRod::VmeModule. |
|
Read sequencer.
|
|
Load sequencer.
|
|
Run sequencer.
|
|
Pure virtual method to report module status.
Implements SctPixelRod::VmeModule. |
|
Read from a 16-bit VME register.
|
|
Write to a 16-bit VME register.
|
|
Firmware version number.
Definition at line 131 of file TimModule.h. Referenced by getFirmware(). |
|
Board serial number.
Definition at line 132 of file TimModule.h. Referenced by getSerialNumber(). |
|
VME Port handle.
Definition at line 133 of file TimModule.h. Referenced by getVmePort(). |