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

Classes

class  ADSSAMPLERATE
 

Public Member Functions

synchronized void delete ()
 
 ADS1015 (int bus, short address, float vref)
 
 ADS1015 (int bus, short address)
 
 ADS1015 (int bus)
 
void setSPS (ADS1015.ADSSAMPLERATE rate)
 
void setSPS ()
 
long getNumInputs ()
 
int getRawValue (long input)
 
float getVoltage (long input)
 
long getResolutionInBits ()
 
String getModuleName ()
 
- Public Member Functions inherited from ADS1X15
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

 ADS1015 (long cPtr, boolean cMemoryOwn)
 
void finalize ()
 
- Protected Member Functions inherited from ADS1X15
 ADS1X15 (long cPtr, boolean cMemoryOwn)
 
void finalize ()
 

Static Protected Member Functions

static long getCPtr (ADS1015 obj)
 
- Static Protected Member Functions inherited from ADS1X15
static long getCPtr (ADS1X15 obj)
 

Additional Inherited Members

- Protected Attributes inherited from ADS1X15
transient boolean swigCMemOwn
 
Inheritance diagram for ADS1015:
Inheritance graph
[legend]
Collaboration diagram for ADS1015:
Collaboration graph
[legend]

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