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

Classes

class  DR_BITS_T
 
class  FS_BITS_T
 
class  H3LIS331DL_REG_T
 
class  HPCF_BITS_T
 
class  HPM_BITS_T
 
class  I_CFG_BITS_T
 
class  INT_CFG_BITS_T
 
class  INT_SRC_BITS_T
 
class  PM_BITS_T
 
class  REG1_BITS_T
 
class  REG2_BITS_T
 
class  REG3_BITS_T
 
class  REG4_BITS_T
 
class  REG5_BITS_T
 
class  STATUS_BITS_T
 

Public Member Functions

synchronized void delete ()
 
 H3LIS331DL (int bus, short address)
 
 H3LIS331DL (int bus)
 
boolean init (H3LIS331DL.DR_BITS_T odr, H3LIS331DL.PM_BITS_T pm, H3LIS331DL.FS_BITS_T fs)
 
boolean init (H3LIS331DL.DR_BITS_T odr, H3LIS331DL.PM_BITS_T pm)
 
boolean init (H3LIS331DL.DR_BITS_T odr)
 
boolean init ()
 
short getChipID ()
 
boolean setDataRate (H3LIS331DL.DR_BITS_T odr)
 
boolean setPowerMode (H3LIS331DL.PM_BITS_T pm)
 
boolean enableAxis (short axisEnable)
 
boolean setFullScale (H3LIS331DL.FS_BITS_T fs)
 
boolean setHPCF (H3LIS331DL.HPCF_BITS_T val)
 
boolean setHPM (H3LIS331DL.HPM_BITS_T val)
 
boolean boot ()
 
boolean enableHPF1 (boolean enable)
 
boolean enableHPF2 (boolean enable)
 
boolean enableFDS (boolean enable)
 
boolean setInterruptActiveLow (boolean enable)
 
boolean setInterruptOpenDrain (boolean enable)
 
boolean setInterrupt1Latch (boolean enable)
 
boolean setInterrupt2Latch (boolean enable)
 
boolean setInterrupt1PadConfig (H3LIS331DL.I_CFG_BITS_T val)
 
boolean setInterrupt2PadConfig (H3LIS331DL.I_CFG_BITS_T val)
 
boolean enableBDU (boolean enable)
 
boolean enableBLE (boolean enable)
 
boolean enableSleepToWake (boolean enable)
 
short getStatus ()
 
boolean setInterrupt1Config (short val)
 
boolean setInterrupt2Config (short val)
 
boolean setInterrupt1Source (short val)
 
boolean setInterrupt2Source (short val)
 
boolean setInterrupt1Threshold (short val)
 
boolean setInterrupt2Threshold (short val)
 
boolean setInterrupt1Duration (short val)
 
boolean setInterrupt2Duration (short val)
 
void update ()
 
void setAdjustmentOffsets (int adjX, int adjY, int adjZ)
 
void getAcceleration (float[] aX, float[] aY, float[] aZ)
 
void getRawXYZ (int[] x, int[] y, int[] z)
 
void getXYZ (int[] x, int[] y, int[] z)
 
FloatVector getAcceleration ()
 
IntVector getRawXYZ ()
 
IntVector getXYZ ()
 

Protected Member Functions

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

Static Protected Member Functions

static long getCPtr (H3LIS331DL obj)
 

Protected Attributes

transient boolean swigCMemOwn
 

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