public interface Register extends InputRegister
A register is read-write from slave and master or device side. Therefore implementations have to be carefully designed for concurrency.
| Modifier and Type | Method and Description |
|---|---|
void |
setValue(byte[] bytes)
Sets the content of this register from the given raw bytes.
|
void |
setValue(int v)
Sets the content of this Register from the given unsigned 16-bit
value (unsigned short).
|
void |
setValue(short s)
Sets the content of this register from the given signed 16-bit value
(short).
|
getValue, toBytes, toShort, toUnsignedShortvoid setValue(int v)
v - the value as unsigned short (int).void setValue(short s)
s - the value as short.void setValue(byte[] bytes)
bytes - the raw data as byte[].Copyright © 2025. All Rights Reserved.