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:
28:e24b911ddd7c
Parent:
24:dae7123d432a
--- a/libraries/AD5270/AD5270.h	Tue May 24 18:24:35 2016 +0200
+++ b/libraries/AD5270/AD5270.h	Thu Aug 18 15:14:12 2016 +0300
@@ -104,8 +104,8 @@
 
 
     /* Low level methods */
-    uint16_t write_cmd(uint8_t command, uint16_t data = 0x00);
-    uint16_t write_reg(uint16_t data);
+    uint16_t write_cmd(uint8_t command, uint16_t data = 0x00, bool toggle_cs = true);
+    uint16_t write_reg(uint16_t data, bool toggle_cs = true);
 
     /* Methods that deal with resistance in float format*/
     uint16_t calc_RDAC(float resistance);
@@ -120,6 +120,8 @@
     uint8_t read_50TP_last_address(void);
     uint16_t read_50TP_memory(uint8_t address);
 
+    void daisy_chain(uint8_t *buffer, uint8_t size);
+
     SPI ad5270;    ///< SPI instance of the AD5270
     DigitalOut cs; ///< DigitalOut instance for the chip select of the AD5270