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

Public Member Functions

synchronized void delete ()
 
 LIS3DH (int bus, int addr, int cs)
 
 LIS3DH (int bus, int addr)
 
 LIS3DH (int bus)
 
void init (LIS3DH_ODR_T odr, LIS3DH_FS_T fs, boolean high_res)
 
void init (LIS3DH_ODR_T odr, LIS3DH_FS_T fs)
 
void init (LIS3DH_ODR_T odr)
 
void init ()
 
void enableAxes (boolean x_axis_enable, boolean y_axis_enable, boolean z_axis_enable)
 
void enableBDUMode (boolean bdu_enable)
 
void enableLPMode (boolean lp_enable)
 
void enableHRMode (boolean hr_enable)
 
void enableNormalMode ()
 
void enableHPFiltering (boolean filter)
 
void enableInterruptLatching (boolean int1_latch, boolean int2_latch)
 
void enableADC (boolean adc_enable)
 
void enableTemperature (boolean temperature_enable)
 
void setODR (LIS3DH_ODR_T odr)
 
void setFullScale (LIS3DH_FS_T fs)
 
void setInterruptActiveHigh (boolean high)
 
void setInt1Config (short cfg)
 
void setInt2Config (short cfg)
 
short readReg (short reg)
 
int readRegs (short reg, SWIGTYPE_p_unsigned_char buffer, int len)
 
void writeReg (short reg, short val)
 
void update ()
 
short getChipID ()
 
floatVector getAccelerometer ()
 
float getTemperature (boolean fahrenheit)
 
float getTemperature ()
 
short getStatus ()
 
short getStatusAux ()
 
void installISR (LIS3DH_INTERRUPT_PINS_T intr, int gpio, SWIGTYPE_p_mraa__Edge level, SWIGTYPE_p_f_p_void__void isr, SWIGTYPE_p_void arg)
 
void uninstallISR (LIS3DH_INTERRUPT_PINS_T intr)
 
void installISR (LIS3DH_INTERRUPT_PINS_T intr, int gpio, SWIGTYPE_p_mraa__Edge level, java.lang.Runnable runnable)
 

Protected Member Functions

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

Static Protected Member Functions

static long getCPtr (LIS3DH obj)
 

Protected Attributes

transient boolean swigCMemOwn
 

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