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

Classes

class  CONFIG2_LAT_T
 
class  CONFIG_ORIENT_T
 
class  ENABLE_CONFIG2_BITS_T
 
class  ENABLE_CONFIG3_BITS_T
 
class  ENABLE_CONFIG_BITS_T
 
class  FILTER_CONFIG_BITS_T
 
class  FILTER_CONFIG_T
 
class  FSL_RANGE_T
 
class  H_HYST_DUR_HIGH_BITS_T
 
class  I2C_WATCHDOG_BITS_T
 
class  INT_STATUS1_BITS_T
 
class  INT_STATUS2_BITS_T
 
class  L_HYST_DUR_LOW_BITS_T
 
class  REG_T
 
class  SBIST_FSL_CONFIG_BITS_T
 
class  SBIST_T
 
class  SLEEP_DUR_T
 
class  SLOPE_CONFIG_BITS_T
 
class  TAP_CONFIG2_BITS_T
 
class  TAP_CONFIG_BITS_T
 
class  TAP_ORIENT_BLOCK_T
 
class  TAP_SAMP_T
 
class  THRESHOLD_BITS_T
 

Public Member Functions

synchronized void delete ()
 
 BMA220 (int bus, short addr)
 
 BMA220 (int bus)
 
void update ()
 
short readReg (short reg)
 
boolean writeReg (short reg, short val)
 
short getChipID ()
 
short getChipRevision ()
 
boolean setAccelerometerScale (BMA220.FSL_RANGE_T scale)
 
SWIGTYPE_p_std__vectorT_float_t getAccelerometer ()
 
boolean setFilterConfig (BMA220.FILTER_CONFIG_T filter)
 
boolean setSerialHighBW (boolean high)
 
boolean enableAxes (boolean xEn, boolean yEn, boolean zEn)
 
short suspend ()
 
short softReset ()
 
boolean sleep (boolean enable)
 
boolean setSleepDuration (BMA220.SLEEP_DUR_T dur)
 
boolean setLowGThreshold (short thresh)
 
boolean setHighGThreshold (short thresh)
 
boolean setLowGHysteresis (short hyst)
 
boolean setLowGDuration (short dur)
 
boolean setHighGHysteresis (short hyst)
 
boolean setHighGDuration (short dur)
 
boolean setTapDuration (short dur)
 
boolean setTapThreshold (short thresh)
 
boolean enableTapFilter (boolean filt)
 
boolean setSlopeDuration (short dur)
 
boolean setSlopeThreshold (short thresh)
 
boolean enableSlopeFilter (boolean filt)
 
short getInterruptStatus1 ()
 
BMA220.CONFIG_ORIENT_T getOrient ()
 
short getInterruptStatus2 ()
 
boolean setInterruptEnables1 (short bits)
 
short getInterruptEnables1 ()
 
boolean setInterruptEnables2 (short bits)
 
short getInterruptEnables2 ()
 
boolean setInterruptLatch (BMA220.CONFIG2_LAT_T lat)
 
boolean resetInterrupts ()
 
void installISR (int gpio, int level, SWIGTYPE_p_f_p_void__void isr, SWIGTYPE_p_void arg)
 
void uninstallISR ()
 
SWIGTYPE_p_mraa__Gpio get_gpioIntr ()
 
void installISR (int gpio, int level, java.lang.Runnable runnable)
 

Protected Member Functions

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

Static Protected Member Functions

static long getCPtr (BMA220 obj)
 

Protected Attributes

transient boolean swigCMemOwn
 

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