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

Public Member Functions

synchronized void delete ()
 
 BMG160 (int bus, int addr, int cs)
 
 BMG160 (int bus, int addr)
 
 BMG160 (int bus)
 
void update ()
 
short getChipID ()
 
AbstractList< Float > getGyroscope ()
 
float getTemperature (boolean fahrenheit)
 
float getTemperature ()
 
void init (BMG160_POWER_MODE_T pwr, BMG160_RANGE_T range, BMG160_BW_T bw)
 
void init (BMG160_POWER_MODE_T pwr, BMG160_RANGE_T range)
 
void init (BMG160_POWER_MODE_T pwr)
 
void init ()
 
void reset ()
 
void setRange (BMG160_RANGE_T range)
 
void setBandwidth (BMG160_BW_T bw)
 
void setPowerMode (BMG160_POWER_MODE_T power)
 
void enableFIFO (boolean useFIFO)
 
void fifoSetWatermark (int wm)
 
void fifoConfig (BMG160_FIFO_MODE_T mode, BMG160_FIFO_DATA_SEL_T axes)
 
short getInterruptEnable0 ()
 
void setInterruptEnable0 (short bits)
 
short getInterruptMap0 ()
 
void setInterruptMap0 (short bits)
 
short getInterruptMap1 ()
 
void setInterruptMap1 (short bits)
 
short getInterruptSrc ()
 
void setInterruptSrc (short bits)
 
short getInterruptOutputControl ()
 
void setInterruptOutputControl (short bits)
 
void clearInterruptLatches ()
 
BMG160_RST_LATCH_T getInterruptLatchBehavior ()
 
void setInterruptLatchBehavior (BMG160_RST_LATCH_T latch)
 
short getInterruptStatus0 ()
 
short getInterruptStatus1 ()
 
short getInterruptStatus2 ()
 
short getInterruptStatus3 ()
 
void enableRegisterShadowing (boolean shadow)
 
void enableOutputFiltering (boolean filter)
 
void installISR (BMG160_INTERRUPT_PINS_T intr, int gpio, SWIGTYPE_p_mraa__Edge level, SWIGTYPE_p_f_p_void__void isr, SWIGTYPE_p_void arg)
 
void uninstallISR (BMG160_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 (BMG160_INTERRUPT_PINS_T intr, int gpio, SWIGTYPE_p_mraa__Edge level, java.lang.Runnable runnable)
 

Protected Member Functions

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

Static Protected Member Functions

static long getCPtr (BMG160 obj)
 

Protected Attributes

transient boolean swigCMemOwn
 

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