public class Cpfe1000
extends org.lsst.ccs.drivers.i2c.I2c
| Modifier and Type | Field and Description |
|---|---|
static int |
STATUS_DSAB
Constants and data.
|
static int |
STATUS_IBAD
Constants and data.
|
static int |
STATUS_IOGB
Constants and data.
|
static int |
STATUS_MASK
Constants and data.
|
static int |
STATUS_OFF
Constants and data.
|
static int |
STATUS_OTP
Constants and data.
|
static int |
STATUS_OTW
Constants and data.
|
static int |
STATUS_VBAD
Constants and data.
|
| Constructor and Description |
|---|
Cpfe1000() |
| Modifier and Type | Method and Description |
|---|---|
String |
getFirmwareRev()
Gets the firmware revision.
|
String |
getManufactureDate()
Gets the manufacturing date.
|
String |
getManufactureLoc()
Gets the manufacturing location.
|
String |
getProductRev()
Gets the product revision.
|
String |
getSerialNo()
Gets the serial number.
|
String |
getUnitPartNo()
Gets the unit part number.
|
void |
open(org.lsst.ccs.drivers.i2c.I2c.ConnType connType,
String ident,
int addr)
Opens a connection.
|
void |
powerOff()
Turns off the power.
|
void |
powerOn()
Turns on the power.
|
double |
readCurrent()
Reads the current.
|
int |
readStatus()
Reads the status.
|
double |
readTemperature()
Reads the baseplate temperature.
|
double |
readVoltage()
Reads the voltage.
|
public static final int STATUS_OFF
public static final int STATUS_DSAB
public static final int STATUS_IOGB
public static final int STATUS_OTW
public static final int STATUS_OTP
public static final int STATUS_VBAD
public static final int STATUS_IBAD
public static final int STATUS_MASK
public void open(org.lsst.ccs.drivers.i2c.I2c.ConnType connType,
String ident,
int addr)
throws org.lsst.ccs.drivers.commons.DriverException
open in class org.lsst.ccs.drivers.i2c.I2cconnType - The enumerated connection typeident - The identificationaddr - The I2C bus addressorg.lsst.ccs.drivers.commons.DriverExceptionpublic String getSerialNo() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic String getFirmwareRev() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic String getProductRev() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic String getUnitPartNo() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic String getManufactureDate() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic String getManufactureLoc() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic int readStatus()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic double readVoltage()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic double readCurrent()
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 powerOn()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void powerOff()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionCopyright © 2017 LSST. All rights reserved.