Basic component library for the FXAS21000 gyro from Freescale

Dependents:   Hello_FXAS21000 Multi-Sensor Freescale_Multi-Sensor_Shield FRDM-STBC-AGM01 ... more

Files at this revision

API Documentation at this revision

Comitter:
screamer
Date:
Mon Jun 02 17:36:38 2014 +0000
Parent:
2:cd21ef326977
Commit message:
Documentation fixes

Changed in this revision

FXAS21000.h Show annotated file Show diff for this revision Revisions of this file
diff -r cd21ef326977 -r a8f83b52f4df FXAS21000.h
--- a/FXAS21000.h	Mon Jun 02 17:06:32 2014 +0000
+++ b/FXAS21000.h	Mon Jun 02 17:36:38 2014 +0000
@@ -46,28 +46,22 @@
      *
      * @param sda SDA pin
      * @param sdl SCL pin
-     * 
      */
     FXAS21000(PinName sda, PinName scl);
  
-    
     /**
-     * Get the Gyro values
-     * Result is floating point degrees / second
+     * Get the Gyro values as floating point degrees / second
      *
      * @param floating point array where the results will be placed
      */
     void ReadXYZ(float * a);
 
-    
     /**
-     * Get the Gyro values
-     * Result is signed 16 bit value
+     * Get the Gyro values as signed 16 bit value
      *
      * @param int16_t point array where the results will be placed
      */
     void ReadXYZraw(int16_t * t);
-
    
     /**
      * Get the value of the WHO_AM_I register
@@ -77,7 +71,6 @@
     char getWhoAmI(void);
     
 private:
-
     I2C _i2c;
 
     /**
@@ -86,8 +79,6 @@
     void begin( void);
     
     void RegRead( char reg, char * d, int len);
-
-
 };
 
 #endif