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

Classes

class  ACT_THS_BITS_T
 
class  CLICK_CONFIG_BITS_T
 
class  CLICK_SRC_BITS_T
 
class  CLICK_THS_BITS_T
 
class  CLICK_TIME_LIMIT_BITS_T
 
class  CTRL_REG0_XM_BITS_T
 
class  CTRL_REG1_G_BITS_T
 
class  CTRL_REG1_XM_BITS_T
 
class  CTRL_REG2_G_BITS_T
 
class  CTRL_REG2_XM_BITS_T
 
class  CTRL_REG3_G_BITS_T
 
class  CTRL_REG3_XM_BITS_T
 
class  CTRL_REG4_G_BITS_T
 
class  CTRL_REG4_XM_BITS_T
 
class  CTRL_REG5_G_BITS_T
 
class  CTRL_REG5_XM_BITS_T
 
class  CTRL_REG6_XM_BITS_T
 
class  CTRL_REG7_XM_BITS_T
 
class  DEVICE_T
 
class  FIFO_CTRL_REG_G_T
 
class  FIFO_CTRL_REG_T
 
class  FIFO_SRC_REG_BITS_T
 
class  FIFO_SRC_REG_G_BITS_T
 
class  FM_T
 
class  G_FM_T
 
class  G_FS_T
 
class  G_HPCF_T
 
class  G_HPM_T
 
class  G_INT1OUTSEL_T
 
class  G_ODR_T
 
class  G_ST_T
 
class  INT1_CFG_G_BITS_T
 
class  INT1_SRC_G_BITS_T
 
class  INT_CTRL_REG_M_BITS_T
 
class  INT_GEN_X_DUR_BITS_T
 
class  INT_GEN_X_REG_BITS_T
 
class  INT_GEN_X_SRC_BITS_T
 
class  INT_GEN_X_THS_BITS_T
 
class  INT_SRC_REG_M_BITS_T
 
class  INTERRUPT_PINS_T
 
class  REG_G_T
 
class  REG_XM_T
 
class  STATUS_REG_A_BITS_T
 
class  STATUS_REG_G_BITS_T
 
class  STATUS_REG_M_BITS_T
 
class  XM_ABW_T
 
class  XM_AFS_T
 
class  XM_AHPM_T
 
class  XM_AODR_T
 
class  XM_AST_T
 
class  XM_MD_T
 
class  XM_MFS_T
 
class  XM_ODR_T
 
class  XM_RES_T
 

Public Member Functions

synchronized void delete ()
 
 LSM9DS0 (int bus, boolean raw, short gAddress, short xmAddress)
 
 LSM9DS0 (int bus, boolean raw, short gAddress)
 
 LSM9DS0 (int bus, boolean raw)
 
 LSM9DS0 (int bus)
 
boolean init ()
 
void update ()
 
void updateGyroscope ()
 
void updateAccelerometer ()
 
void updateMagnetometer ()
 
void updateTemperature ()
 
short readReg (LSM9DS0.DEVICE_T dev, short reg)
 
void readRegs (LSM9DS0.DEVICE_T dev, short reg, byte[] buffer)
 
boolean writeReg (LSM9DS0.DEVICE_T dev, short reg, short val)
 
boolean setGyroscopePowerDown (boolean enable)
 
boolean setGyroscopeEnableAxes (short axes)
 
boolean setGyroscopeODR (LSM9DS0.G_ODR_T odr)
 
boolean setGyroscopeScale (LSM9DS0.G_FS_T scale)
 
boolean setAccelerometerEnableAxes (short axes)
 
boolean setAccelerometerODR (LSM9DS0.XM_AODR_T odr)
 
boolean setAccelerometerScale (LSM9DS0.XM_AFS_T scale)
 
boolean setMagnetometerResolution (LSM9DS0.XM_RES_T res)
 
boolean setMagnetometerODR (LSM9DS0.XM_ODR_T odr)
 
boolean setMagnetometerMode (LSM9DS0.XM_MD_T mode)
 
boolean setMagnetometerLPM (boolean enable)
 
boolean setMagnetometerScale (LSM9DS0.XM_MFS_T scale)
 
SWIGTYPE_p_std__vectorT_float_t getAccelerometer ()
 
SWIGTYPE_p_std__vectorT_float_t getGyroscope ()
 
SWIGTYPE_p_std__vectorT_float_t getMagnetometer ()
 
float getTemperature ()
 
boolean enableTemperatureSensor (boolean enable)
 
short getGyroscopeStatus ()
 
short getMagnetometerStatus ()
 
short getAccelerometerStatus ()
 
short getGyroscopeInterruptConfig ()
 
boolean setGyroscopeInterruptConfig (short enables)
 
short getGyroscopeInterruptSrc ()
 
short getMagnetometerInterruptControl ()
 
boolean setMagnetometerInterruptControl (short enables)
 
short getMagnetometerInterruptSrc ()
 
short getInterruptGen1 ()
 
boolean setInterruptGen1 (short enables)
 
short getInterruptGen1Src ()
 
short getInterruptGen2 ()
 
boolean setInterruptGen2 (short enables)
 
short getInterruptGen2Src ()
 
void installISR (LSM9DS0.INTERRUPT_PINS_T intr, int gpio, int level, SWIGTYPE_p_f_p_void__void isr, SWIGTYPE_p_void arg)
 
void uninstallISR (LSM9DS0.INTERRUPT_PINS_T intr)
 
void installISR (LSM9DS0.INTERRUPT_PINS_T intr, int gpio, int level, java.lang.Runnable runnable)
 

Protected Member Functions

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

Static Protected Member Functions

static long getCPtr (LSM9DS0 obj)
 

Protected Attributes

transient boolean swigCMemOwn
 

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