upm  1.6.0
Sensor/Actuator repository for libmraa (v1.9.0)
Classes | Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
HP20X Class Reference

Classes

class  CHNL_BITS_T
 
class  DSR_BITS_T
 
class  HP20X_CMD_T
 
class  HP20X_REG_T
 
class  INT_CFG_BITS_T
 
class  INT_EN_BITS_T
 
class  INT_SRC_BITS_T
 
class  PARA_BITS_T
 

Public Member Functions

synchronized void delete ()
 
 HP20X (int bus, short address)
 
 HP20X (int bus)
 
boolean init (HP20X.DSR_BITS_T dsr)
 
boolean init ()
 
boolean writeCmd (short cmd)
 
boolean writeReg (HP20X.HP20X_REG_T reg, short data)
 
short readReg (HP20X.HP20X_REG_T reg)
 
int readData ()
 
boolean isReady ()
 
boolean waitforDeviceReady ()
 
float getTemperature ()
 
float getPressure ()
 
float getAltitude ()
 
void compensationEnable (boolean enable)
 
boolean setInterruptEnable (short bits)
 
boolean setInterruptConfig (short bits)
 
short getInterruptSource ()
 
void setDSR (HP20X.DSR_BITS_T dsr)
 
void recalibrateInternal ()
 
void softReset ()
 
void setAltitudeOffset (short off)
 
void setPAThreshholds (short low, short med, short high)
 
void setTemperatureThreshholds (byte low, byte med, byte high)
 

Protected Member Functions

 HP20X (long cPtr, boolean cMemoryOwn)
 
void finalize ()
 

Static Protected Member Functions

static long getCPtr (HP20X obj)
 

Protected Attributes

transient boolean swigCMemOwn
 

The documentation for this class was generated from the following file: