upm  1.6.0
Sensor/Actuator repository for libmraa (v1.9.0)
Public Member Functions | Protected Member Functions | Static Protected Member Functions | List of all members
MPU9250 Class Reference

Public Member Functions

synchronized void delete ()
 
 MPU9250 (int bus, int address, int magAddress, boolean enableAk8975)
 
 MPU9250 (int bus, int address, int magAddress)
 
 MPU9250 (int bus, int address)
 
 MPU9250 (int bus)
 
float getTemperature ()
 
- Public Member Functions inherited from MPU9150
synchronized void delete ()
 
 MPU9150 (int bus, int address, int magAddress, boolean enableAk8975)
 
 MPU9150 (int bus, int address, int magAddress)
 
 MPU9150 (int bus, int address)
 
 MPU9150 (int bus)
 
boolean init ()
 
void update ()
 
void getMagnetometer (SWIGTYPE_p_float x, SWIGTYPE_p_float y, SWIGTYPE_p_float z)
 
FloatVector getMagnetometer ()
 
- Public Member Functions inherited from MPU60X0
synchronized void delete ()
 
 MPU60X0 (int bus, short address)
 
 MPU60X0 (int bus)
 
boolean init ()
 
void update ()
 
short readReg (short reg)
 
void readRegs (short reg, byte[] buffer)
 
boolean writeReg (short reg, short val)
 
boolean setSleep (boolean enable)
 
boolean setClockSource (MPU60X0.CLKSEL_T clk)
 
boolean setGyroscopeScale (MPU60X0.FS_SEL_T scale)
 
boolean setAccelerometerScale (MPU60X0.AFS_SEL_T scale)
 
boolean setDigitalLowPassFilter (MPU60X0.DLPF_CFG_T dlp)
 
boolean setSampleRateDivider (short div)
 
short getSampleRateDivider ()
 
void getAccelerometer (SWIGTYPE_p_float x, SWIGTYPE_p_float y, SWIGTYPE_p_float z)
 
void getGyroscope (SWIGTYPE_p_float x, SWIGTYPE_p_float y, SWIGTYPE_p_float z)
 
float getTemperature ()
 
boolean enableTemperatureSensor (boolean enable)
 
boolean setExternalSync (MPU60X0.EXT_SYNC_SET_T val)
 
boolean enableI2CBypass (boolean enable)
 
boolean setMotionDetectionThreshold (short thr)
 
short getInterruptStatus ()
 
boolean setInterruptEnables (short enables)
 
short getInterruptEnables ()
 
boolean setInterruptPinConfig (short cfg)
 
short getInterruptPinConfig ()
 
void installISR (int gpio, int level, SWIGTYPE_p_f_p_void__void isr, SWIGTYPE_p_void arg)
 
void uninstallISR ()
 
SWIGTYPE_p_mraa__Gpio get_gpioIRQ ()
 
void installISR (int gpio, int level, java.lang.Runnable runnable)
 

Protected Member Functions

 MPU9250 (long cPtr, boolean cMemoryOwn)
 
void finalize ()
 
- Protected Member Functions inherited from MPU9150
 MPU9150 (long cPtr, boolean cMemoryOwn)
 
void finalize ()
 
- Protected Member Functions inherited from MPU60X0
 MPU60X0 (long cPtr, boolean cMemoryOwn)
 
void finalize ()
 

Static Protected Member Functions

static long getCPtr (MPU9250 obj)
 
- Static Protected Member Functions inherited from MPU9150
static long getCPtr (MPU9150 obj)
 
- Static Protected Member Functions inherited from MPU60X0
static long getCPtr (MPU60X0 obj)
 

Additional Inherited Members

- Protected Attributes inherited from MPU60X0
transient boolean swigCMemOwn
 
Inheritance diagram for MPU9250:
Inheritance graph
[legend]
Collaboration diagram for MPU9250:
Collaboration graph
[legend]

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