@Beta public interface PiRegisterProgrammable extends HandlerBehaviour
Modifier and Type | Method and Description |
---|---|
CompletableFuture<Collection<PiRegisterCell>> |
readAllRegisterCells()
Gets all of the register cells from the device.
|
CompletableFuture<PiRegisterCell> |
readRegisterCell(PiRegisterCellId cellId)
Gets the register cell given the register cell ID from the device.
|
CompletableFuture<Collection<PiRegisterCell>> |
readRegisterCells(PiRegisterId registerId)
Gets all of the register cells given register ID from the device.
|
CompletableFuture<Collection<PiRegisterCell>> |
readRegisterCells(Set<PiRegisterCellId> cellIds)
Gets the register cells given the collection of cellIds from the device.
|
CompletableFuture<Boolean> |
writeRegisterCell(PiRegisterCell entry)
Write a register cell of this device.
|
handler, setHandler
CompletableFuture<Boolean> writeRegisterCell(PiRegisterCell entry)
entry
- register entryCompletableFuture<PiRegisterCell> readRegisterCell(PiRegisterCellId cellId)
cellId
- the register cell IdCompletableFuture<Collection<PiRegisterCell>> readRegisterCells(Set<PiRegisterCellId> cellIds)
cellIds
- the collection of register cell IdCompletableFuture<Collection<PiRegisterCell>> readRegisterCells(PiRegisterId registerId)
registerId
- the identifier of registerCompletableFuture<Collection<PiRegisterCell>> readAllRegisterCells()