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

Public Member Functions

synchronized void delete ()
 
 LSM303AGR (int bus, int acc_addr, int mag_addr)
 
 LSM303AGR (int bus, int acc_addr)
 
 LSM303AGR (int bus)
 
void update ()
 
AbstractList< Float > getMagnetometer ()
 
AbstractList< Float > getAccelerometer ()
 
float getTemperature ()
 
void init (LSM303AGR_POWER_MODE_T usage)
 
void init ()
 
void setFullScale (LSM303AGR_A_FS_T fs)
 
void setPowerMode (LSM303AGR_POWER_MODE_T mode)
 
void setAccelerometerODR (LSM303AGR_A_ODR_T odr)
 
void setMagnetometerODR (LSM303AGR_CFG_A_M_ODR_T odr)
 
short getAccelerometerInt1Config ()
 
short getAccelerometerInt2Config ()
 
void setAccelerometerInt1Config (short bits)
 
void setAccelerometerInt2Config (short bits)
 
short getMagnetometerIntConfig ()
 
void setMagnetometerIntConfig (short bits)
 
short getAccelerometerInt1Src ()
 
short getAccelerometerInt2Src ()
 
short getMagnetometerIntSrc ()
 
void installISR (LSM303AGR_INTERRUPT_PINS_T intr, int gpio, SWIGTYPE_p_mraa__Edge level, SWIGTYPE_p_f_p_void__void isr, SWIGTYPE_p_void arg)
 
void uninstallISR (LSM303AGR_INTERRUPT_PINS_T intr)
 
void installISR (LSM303AGR_INTERRUPT_PINS_T intr, int gpio, SWIGTYPE_p_mraa__Edge level, java.lang.Runnable runnable)
 

Protected Member Functions

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

Static Protected Member Functions

static long getCPtr (LSM303AGR obj)
 

Protected Attributes

transient boolean swigCMemOwn
 

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