public static class RegisterSet.ConstantRegister extends RegisterSet.ReadOnlyRegister
RegisterSet.ArrayRegisterSet, RegisterSet.ConstantRegister, RegisterSet.LongArrayRegisterSet, RegisterSet.ReadOnlyLongRegister, RegisterSet.ReadOnlyRegister, RegisterSet.Register, RegisterSet.SimpleLongRegisterSet, RegisterSet.SimpleRegisterSet, RegisterSet.WriteOnlyRegister| Constructor and Description |
|---|
ConstantRegister(int address,
int value)
Create a read-only constant valued register
|
| Modifier and Type | Method and Description |
|---|---|
int |
read()
Read the value of the register
|
writebaseAddress, length, read, writepublic ConstantRegister(int address,
int value)
address - The address of the registervalue - The value of the register.public int read()
RegisterSet.Registerread in class RegisterSet.RegisterCopyright © 2021 LSST. All rights reserved.