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

Public Member Functions

synchronized void delete ()
 
 MPL3115A2 (int bus, int devAddr, short mode)
 
 MPL3115A2 (int bus, int devAddr)
 
 MPL3115A2 (int bus)
 
int testSensor ()
 
int resetSensor ()
 
void dumpSensor ()
 
int sampleData ()
 
int getPressureReg (int reg)
 
int getTempReg (int reg)
 
float getPressure (int bSampleData)
 
float getPressure ()
 
float getTemperature (int bSampleData)
 
float getTemperature ()
 
float getSealevelPressure (float altitudeMeters)
 
float getSealevelPressure ()
 
float getAltitude (float sealevelPressure)
 
float getAltitude ()
 
void setOversampling (short oversampling)
 
short getOversampling ()
 
float getTemperatureMax ()
 
float getTemperatureMin ()
 
float getPressureMax ()
 
float getPressureMin ()
 
float convertTempCtoF (float fTemp)
 
float convertPaToinHg (float fPressure)
 
int i2cWriteReg (short reg, short value)
 
int i2cReadReg_16 (int reg)
 
short i2cReadReg_8 (int reg)
 

Protected Member Functions

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

Static Protected Member Functions

static long getCPtr (MPL3115A2 obj)
 

Protected Attributes

transient boolean swigCMemOwn
 

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