public static class Daq0Client.Registers extends Object implements RegClient.Impl
| Modifier and Type | Method and Description |
|---|---|
void |
deleteRegClient(long handle)
Deletes the object.
|
long |
newRegClient(int id,
String ifc)
Creates a new register client object.
|
int |
readReg(long handle,
int address)
Reads from a register.
|
void |
readRegs(long handle,
int address,
int[] values,
int offset,
int count)
Reads from a set of registers.
|
int |
updateReg(long handle,
int address,
int mask,
int value)
Updates a register.
|
void |
writeReg(long handle,
int address,
int value)
Writes to a register.
|
void |
writeRegs(long handle,
int address,
int[] values,
int offset,
int count)
Writes to a set of registers.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitresetpublic long newRegClient(int id,
String ifc)
RegClient.ImplnewRegClient in interface RegClient.Implid - The ID of the REB to be accessed by the objectifc - The name of the partition or hardware interface to use.public void deleteRegClient(long handle)
RegClient.ImpldeleteRegClient in interface RegClient.Implhandle - The handle of the register client objectpublic int readReg(long handle,
int address)
throws REBException
RegClient.ImplreadReg in interface RegClient.Implhandle - The handle of the register client objectaddress - The address of the register to readREBExceptionpublic void readRegs(long handle,
int address,
int[] values,
int offset,
int count)
throws REBException
RegClient.ImplreadRegs in interface RegClient.Implhandle - The handle of the register client objectaddress - The address of the first register to readvalues - An array to receive the register valuesoffset - The offset to the array element where the first value is to be putcount - The number of registers to readREBExceptionpublic void writeReg(long handle,
int address,
int value)
throws REBException
RegClient.ImplwriteReg in interface RegClient.Implhandle - The handle of the register client objectaddress - The address of the register to writevalue - The value to write to the registerREBExceptionpublic void writeRegs(long handle,
int address,
int[] values,
int offset,
int count)
throws REBException
RegClient.ImplwriteRegs in interface RegClient.Implhandle - The handle of the register client objectaddress - The address of the first register to writevalues - An array containing the values to writeoffset - The offset to the array element containing the first value to writecount - The number of registers to writeREBExceptionpublic int updateReg(long handle,
int address,
int mask,
int value)
throws REBException
RegClient.ImplupdateReg in interface RegClient.Implhandle - The handle of the register client objectaddress - The address of the register to updatemask - A mask in which set bits specify which bits of
value are to be writtenvalue - The value to write to the registerREBExceptionCopyright © 2020 LSST. All rights reserved.