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

Public Member Functions

synchronized void delete ()
 
 BMM150 (int bus, int addr, int cs)
 
 BMM150 (int bus, int addr)
 
 BMM150 (int bus)
 
void update ()
 
short getChipID ()
 
AbstractList< Float > getMagnetometer ()
 
void init (BMM150_USAGE_PRESETS_T usage)
 
void init ()
 
void setPresetMode (BMM150_USAGE_PRESETS_T usage)
 
void reset ()
 
void setOutputDataRate (BMM150_DATA_RATE_T odr)
 
void setPowerBit (boolean power)
 
void setOpmode (BMM150_OPERATION_MODE_T opmode)
 
BMM150_OPERATION_MODE_T getOpmode ()
 
short getInterruptEnable ()
 
void setInterruptEnable (short bits)
 
short getInterruptConfig ()
 
void setInterruptConfig (short bits)
 
short getInterruptStatus ()
 
void setRepetitionsXY (short reps)
 
void setRepetitionsZ (short reps)
 
void installISR (BMM150_INTERRUPT_PINS_T intr, int gpio, int level, SWIGTYPE_p_f_p_void__void isr, SWIGTYPE_p_void arg)
 
void uninstallISR (BMM150_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)
 

Protected Member Functions

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

Static Protected Member Functions

static long getCPtr (BMM150 obj)
 

Protected Attributes

transient boolean swigCMemOwn
 

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