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

Public Member Functions

synchronized void delete ()
 
 ADC121C021 (int bus, short address, float vref)
 
 ADC121C021 (int bus, short address)
 
 ADC121C021 (int bus)
 
int writeByte (short reg, short arg1)
 
int writeWord (short reg, int word)
 
short readByte (short reg)
 
int readWord (short reg)
 
int value ()
 
float valueToVolts (int val)
 
boolean getAlertStatus ()
 
boolean alertLowTriggered ()
 
boolean alertHighTriggered ()
 
void clearAlertStatus ()
 
void enableAlertFlag (boolean enable)
 
void enableAlertPin (boolean enable)
 
void enableAlertHold (boolean enable)
 
void enableAlertPinPolarityHigh (boolean enable)
 
void setAutomaticConversion (ADC121C021_CYCLE_TIME_T cycleTime)
 
int setAlertLowLimit (int limit)
 
int setAlertHighLimit (int limit)
 
int setHysteresis (int limit)
 
int getHighestConversion ()
 
int getLowestConversion ()
 
int clearHighestConversion ()
 
int clearLowestConversion ()
 

Protected Member Functions

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

Static Protected Member Functions

static long getCPtr (ADC121C021 obj)
 

Protected Attributes

transient boolean swigCMemOwn
 

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