public static interface 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.
|
default void |
reset(long handle,
int type)
Resets the hardware.
|
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.
|
long newRegClient(int id,
String ifc)
id - The ID of the REB to be accessed by the objectifc - The name of the partition or hardware interface to use.void deleteRegClient(long handle)
handle - The handle of the register client objectint readReg(long handle,
int address)
throws REBException
handle - The handle of the register client objectaddress - The address of the register to readREBExceptionvoid readRegs(long handle,
int address,
int[] values,
int offset,
int count)
throws REBException
handle - 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 readREBExceptionvoid writeReg(long handle,
int address,
int value)
throws REBException
handle - The handle of the register client objectaddress - The address of the register to writevalue - The value to write to the registerREBExceptionvoid writeRegs(long handle,
int address,
int[] values,
int offset,
int count)
throws REBException
handle - 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 writeREBExceptionint updateReg(long handle,
int address,
int mask,
int value)
throws REBException
handle - 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 registerREBExceptiondefault void reset(long handle,
int type)
throws REBException
handle - The handle of the register client objecttype - The type of reset to performREBExceptionCopyright © 2017 LSST. All rights reserved.