A collection of Analog Devices drivers for the mbed platform

For additional information check out the mbed page of the Analog Devices wiki: https://wiki.analog.com/resources/tools-software/mbed-drivers-all

Revision:
17:b8356808e8ad
Parent:
13:66c8e4ce4ff1
--- a/libraries/ad7791/AD7791.h	Fri Apr 29 17:16:55 2016 +0300
+++ b/libraries/ad7791/AD7791.h	Fri Apr 29 17:34:07 2016 +0300
@@ -104,13 +104,13 @@
         FS0 = 0x01, ///< Update rate bit 0
     } FilterRegisterBits_t;
 
-/*  typedef enum    {
-        RANGE_VREF = 0,
-        RANGE_VREF_DIV_2,
-        RANGE_VREF_DIV_4,
-        RANGE_VREF_DIV_8,
-    } AnalogInputRange_t;
-*/
+    /*  typedef enum    {
+            RANGE_VREF = 0,
+            RANGE_VREF_DIV_2,
+            RANGE_VREF_DIV_4,
+            RANGE_VREF_DIV_8,
+        } AnalogInputRange_t;
+    */
     /** SPI configuration & constructor */
     AD7791( float reference_voltage, PinName CS = SPI_CS, PinName MOSI = SPI_MOSI, PinName MISO = SPI_MISO, PinName SCK = SPI_SCK);
     void frequency(int hz);
@@ -132,7 +132,7 @@
 
     /** Reference voltage methods */
     void  set_reference_voltage(float ref);
-  	float get_reference_voltage(void);
+    float get_reference_voltage(void);
 
     /** Voltage read methods */
     float read_voltage(void);