|
fdhwlib
2.0.25
|
#include <FltCurrent.h>
The class contains information of the current monitor.
The Current Monitor needs a specific init sequence and the order of the pixel in the address space differs.
Changes:
Definition at line 32 of file FltCurrent.h.
| FltCurrent::FltCurrent | ( | const char * | name, |
| int | slotID, | ||
| int | regID, | ||
| int | r, | ||
| int | w, | ||
| int | len | ||
| ) |
| FltCurrent::~FltCurrent | ( | ) |
| int FltCurrent::channelMap | ( | int | ch | ) |
Address translation.
All channel are numbered from 0 to 23 !
| void FltCurrent::init | ( | ) |
Provides the init sequence for the ADCs.
The initialization string is written to the start address of the current monitor memory
| unsigned long FltCurrent::read | ( | int | ch | ) |
Read the Current of pixel <ch>.
The reimplementation uses the address translation.
Reimplemented from FltPixRegister.
| void FltCurrent::reset | ( | ) |
Stop the current monitor!?
Reimplemented from Pbus.
| void FltCurrent::write | ( | int | ch, |
| unsigned long | data | ||
| ) |
Write to Current Register of pixel <ch>.
The reimplementation uses the address translation.
Reimplemented from FltPixRegister.