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

Public Member Functions

synchronized void delete ()
 
 MMA7660 (int bus, short address)
 
 MMA7660 (int bus)
 
boolean writeByte (short reg, short arg1)
 
short readByte (short reg)
 
void getRawValues (int[] x, int[] y, int[] z)
 
void getAcceleration (float[] ax, float[] ay, float[] az)
 
int getVerifiedAxis (MMA7660_REG_T axis)
 
short getVerifiedTilt ()
 
void setModeActive ()
 
void setModeStandby ()
 
short tiltBackFront ()
 
short tiltLandscapePortrait ()
 
boolean tiltTap ()
 
boolean tiltShake ()
 
void uninstallISR ()
 
boolean setInterruptBits (short ibits)
 
boolean setSampleRate (MMA7660_AUTOSLEEP_T sr)
 
FloatVector getAcceleration ()
 
IntVector getRawValues ()
 
void installISR (int pin, SWIGTYPE_p_f_p_void__void isr, SWIGTYPE_p_void arg)
 
void installISR (int pin, java.lang.Runnable runnable)
 

Protected Member Functions

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

Static Protected Member Functions

static long getCPtr (MMA7660 obj)
 

Protected Attributes

transient boolean swigCMemOwn
 

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