Driver for AK7451 Angle Senor(SPI).

Fork of AK7451 by AKM Development Platform

Revision:
1:536cf25b0eb4
Parent:
0:56b554871e05
Child:
2:b1079549c6a1
--- a/ak7451.h	Thu Apr 28 19:20:32 2016 +0000
+++ b/ak7451.h	Mon Sep 12 17:23:27 2016 +0000
@@ -55,15 +55,6 @@
      */
      ~AK7451();
 
-/*    
-    virtual AkmSensor::Status init();
-    virtual void eventCallback();
-    virtual bool isEvent();
-    virtual AkmSensor::Status startSensor();
-    virtual AkmSensor::Status startSensor(float sec);
-    virtual AkmSensor::Status stopSensor();
-    virtual AkmSensor::Status readSensorData(char* data);
-*/
     /**
      * begin
      *
@@ -123,15 +114,6 @@
     Status setOperationMode(OperationMode mode);
 
     /**
-     * Reads angle data in [deg] from the device.
-     *
-     * @param angle Pointer
-     *
-     * @return Returns SUCCESS when succeeded, otherwise returns another code.
-     */
-    Status readAngle(float *angle);
-
-    /**
      * Reads angle data from the device.
      *
      * @param angle pointer to read angle data buffer
@@ -167,15 +149,6 @@
      */
     Status setAngleZero(const char *angle);
 
-    /**
-     * Sets the value to EEPROM as zero angle position.
-     *
-     * @param angle zero angle position in degree
-     *
-     * @return Returns SUCCESS when succeeded, otherwise returns another code.
-     */
-    Status setAngleZero(const float angle);
-
 private:        
     /**
      * Holds a pointer to an SPI object.