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

Public Member Functions

synchronized void delete ()
 
 LIS2DS12 (int bus, int addr, int cs)
 
 LIS2DS12 (int bus, int addr)
 
 LIS2DS12 (int bus)
 
void update ()
 
short getChipID ()
 
floatVector getAccelerometer ()
 
float getTemperature (boolean fahrenheit)
 
float getTemperature ()
 
void init (LIS2DS12_ODR_T odr, LIS2DS12_FS_T fs)
 
void init (LIS2DS12_ODR_T odr)
 
void init ()
 
void reset ()
 
void setODR (LIS2DS12_ODR_T odr)
 
void setFullScale (LIS2DS12_FS_T fs)
 
void enableHPFiltering (boolean filter)
 
void enableInterruptLatching (boolean latch)
 
void setInterruptActiveHigh (boolean high)
 
void setInterruptPushPull (boolean pp)
 
void setInt1Config (short cfg)
 
void setInt2Config (short cfg)
 
short getStatus ()
 
void installISR (LIS2DS12_INTERRUPT_PINS_T intr, int gpio, SWIGTYPE_p_mraa__Edge level, SWIGTYPE_p_f_p_void__void isr, SWIGTYPE_p_void arg)
 
void uninstallISR (LIS2DS12_INTERRUPT_PINS_T intr)
 
short readReg (short reg)
 
int readRegs (short reg, SWIGTYPE_p_unsigned_char buffer, int len)
 
void writeReg (short reg, short val)
 
void installISR (LIS2DS12_INTERRUPT_PINS_T intr, int gpio, SWIGTYPE_p_mraa__Edge level, java.lang.Runnable runnable)
 

Protected Member Functions

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

Static Protected Member Functions

static long getCPtr (LIS2DS12 obj)
 

Protected Attributes

transient boolean swigCMemOwn
 

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