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

Classes

class  CTRL_REG1_BITS_T
 
class  CTRL_REG2_BITS_T
 
class  CTRL_REG3_BITS_T
 
class  CTRL_REG4_BITS_T
 
class  CTRL_REG5_BITS_T
 
class  FIFO_CTRL_REG_BITS_T
 
class  FIFO_MODE_T
 
class  FIFO_SRC_BITS_T
 
class  filter_median_t
 
class  FS_T
 
class  gyro_cal_t
 
class  HPCF_T
 
class  HPM_T
 
class  INT1_CFG_BITS_T
 
class  INT1_DURATION_BITS_T
 
class  INT1_SRC_BITS_T
 
class  L3GD20_REGS_T
 
class  ODR_CUTOFF_T
 
class  POWER_MODES_T
 
class  STATUS_REG_BITS_T
 

Public Member Functions

synchronized void delete ()
 
 L3GD20 (int device)
 
 L3GD20 (int bus, int addr)
 
short getChipID ()
 
void getGyroscope (SWIGTYPE_p_float x, SWIGTYPE_p_float y, SWIGTYPE_p_float z)
 
void setPowerMode (L3GD20.POWER_MODES_T mode)
 
void setRange (L3GD20.FS_T range)
 
void update ()
 
float getTemperature (boolean fahrenheit)
 
float getTemperature ()
 
void setODR (L3GD20.ODR_CUTOFF_T odr)
 
void enableBDU (boolean enable)
 
short getStatusBits ()
 
void installISR (SWIGTYPE_p_f_p_char_p_void__void isr, SWIGTYPE_p_void arg)
 
long getChannelValue (SWIGTYPE_p_unsigned_char input, SWIGTYPE_p_mraa_iio_channel chan)
 
boolean enableBuffer (int length)
 
boolean disableBuffer ()
 
boolean setScale (float scale)
 
boolean setSamplingFrequency (float sampling_frequency)
 
boolean enable3AxisChannel ()
 
boolean extract3Axis (String data, SWIGTYPE_p_float x, SWIGTYPE_p_float y, SWIGTYPE_p_float z)
 
void initCalibrate ()
 
boolean getCalibratedStatus ()
 
void getCalibratedData (SWIGTYPE_p_float bias_x, SWIGTYPE_p_float bias_y, SWIGTYPE_p_float bias_z)
 
void loadCalibratedData (float bias_x, float bias_y, float bias_z)
 
short readReg (short reg)
 
int readRegs (short reg, SWIGTYPE_p_unsigned_char buffer, int len)
 
void writeReg (short reg, short val)
 
boolean gyroCollect (float x, float y, float z)
 
void gyroDenoiseMedian (SWIGTYPE_p_float x, SWIGTYPE_p_float y, SWIGTYPE_p_float z)
 
float median (SWIGTYPE_p_float queue, long size)
 
long partition (SWIGTYPE_p_float list, long left, long right, long pivot_index)
 
void clampGyroReadingsToZero (SWIGTYPE_p_float x, SWIGTYPE_p_float y, SWIGTYPE_p_float z)
 

Protected Member Functions

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

Static Protected Member Functions

static long getCPtr (L3GD20 obj)
 

Protected Attributes

transient boolean swigCMemOwn
 

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