public class SA56004 extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
STATUS_BUSY |
static int |
STATUS_LCRIT |
static int |
STATUS_LHIGH |
static int |
STATUS_LLOW |
static int |
STATUS_OPEN |
static int |
STATUS_RCRIT |
static int |
STATUS_RHIGH |
static int |
STATUS_RLOW |
| Modifier and Type | Method and Description |
|---|---|
int |
getConvRate()
Gets the conversion rate.
|
int |
readStatus()
Reads the status register.
|
double |
readTemperature()
Reads the temperature.
|
void |
setConvRate(int rate)
Sets the conversion rate.
|
public static final int STATUS_LCRIT
public static final int STATUS_RCRIT
public static final int STATUS_OPEN
public static final int STATUS_RLOW
public static final int STATUS_RHIGH
public static final int STATUS_LLOW
public static final int STATUS_LHIGH
public static final int STATUS_BUSY
public SA56004(Srp srp)
srp - The Srp object to usepublic int readStatus()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic double readTemperature()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void setConvRate(int rate)
throws org.lsst.ccs.drivers.commons.DriverException
rate - The encoded conversion rate (0 - 9). Freq. is 2^(rate - 4).org.lsst.ccs.drivers.commons.DriverExceptionpublic int getConvRate()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionCopyright © 2019 LSST. All rights reserved.