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

Public Member Functions

synchronized void delete ()
 
 LSM6DSL (int bus, int addr, int cs)
 
 LSM6DSL (int bus, int addr)
 
 LSM6DSL (int bus)
 
void update ()
 
short getChipID ()
 
floatVector getAccelerometer ()
 
floatVector getGyroscope ()
 
float getTemperature (boolean fahrenheit)
 
float getTemperature ()
 
void init (LSM6DSL_XL_ODR_T acc_odr, LSM6DSL_XL_FS_T acc_fs, LSM6DSL_G_ODR_T gyr_odr, LSM6DSL_G_FS_T gyr_fs)
 
void init (LSM6DSL_XL_ODR_T acc_odr, LSM6DSL_XL_FS_T acc_fs, LSM6DSL_G_ODR_T gyr_odr)
 
void init (LSM6DSL_XL_ODR_T acc_odr, LSM6DSL_XL_FS_T acc_fs)
 
void init (LSM6DSL_XL_ODR_T acc_odr)
 
void init ()
 
void reset ()
 
void setAccelerometerODR (LSM6DSL_XL_ODR_T odr)
 
void setAccelerometerFullScale (LSM6DSL_XL_FS_T fs)
 
void setGyroscopeODR (LSM6DSL_G_ODR_T odr)
 
void setGyroscopeFullScale (LSM6DSL_G_FS_T fs)
 
void setHighPerformance (boolean enable)
 
void setInterruptActiveHigh (boolean high)
 
void setInterruptPushPull (boolean pp)
 
short getStatus ()
 
void setAccelerometerOffsets (int x, int y, int z, boolean weight)
 
void installISR (LSM6DSL_INTERRUPT_PINS_T intr, int gpio, SWIGTYPE_p_mraa__Edge level, SWIGTYPE_p_f_p_void__void isr, SWIGTYPE_p_void arg)
 
void uninstallISR (LSM6DSL_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 (LSM6DSL_INTERRUPT_PINS_T intr, int gpio, SWIGTYPE_p_mraa__Edge level, java.lang.Runnable runnable)
 

Protected Member Functions

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

Static Protected Member Functions

static long getCPtr (LSM6DSL obj)
 

Protected Attributes

transient boolean swigCMemOwn
 

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