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
ADS1X15 Class Reference

Classes

class  ADSCOMP
 
class  ADSGAIN
 
class  ADSMUXMODE
 
class  ADSSAMPLERATE
 
class  ADSTHRESH
 

Public Member Functions

synchronized void delete ()
 
String name ()
 
float getLastSample (int reg)
 
float getLastSample ()
 
float getSample (ADS1X15.ADSMUXMODE mode)
 
float getSample ()
 
ADS1X15.ADSGAIN getGain ()
 
void setGain (ADS1X15.ADSGAIN gain)
 
void setGain ()
 
ADS1X15.ADSSAMPLERATE getSPS ()
 
void setSPS (ADS1X15.ADSSAMPLERATE rate)
 
boolean getCompMode ()
 
void setCompMode (boolean mode)
 
void setCompMode ()
 
boolean getCompPol ()
 
void setCompPol (boolean mode)
 
void setCompPol ()
 
boolean getCompLatch ()
 
void setCompLatch (boolean mode)
 
void setCompLatch ()
 
ADS1X15.ADSCOMP getCompQue ()
 
void setCompQue (ADS1X15.ADSCOMP mode)
 
void setCompQue ()
 
boolean getContinuous ()
 
void setContinuous (boolean mode)
 
void setContinuous ()
 
float getThresh (ADS1X15.ADSTHRESH reg)
 
float getThresh ()
 
void setThresh (ADS1X15.ADSTHRESH reg, float value)
 
void setThresh (ADS1X15.ADSTHRESH reg)
 
void setThresh ()
 

Protected Member Functions

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

Static Protected Member Functions

static long getCPtr (ADS1X15 obj)
 

Protected Attributes

transient boolean swigCMemOwn
 
Inheritance diagram for ADS1X15:
Inheritance graph
[legend]

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