1-Wire® library for mbed. Complete 1-Wire library that supports our silicon masters along with a bit-bang master on the MAX32600MBED platform with one common interface for mbed. Slave support has also been included and more slaves will be added as time permits.

Dependents:   MAXREFDES131_Qt_Demo MAX32630FTHR_iButton_uSD_Logger MAX32630FTHR_DS18B20_uSD_Logger MAXREFDES130_131_Demo ... more

Superseded by MaximInterface.

Revision:
102:d3a7e4990b59
Parent:
101:e7f76cb49584
Child:
104:3f48daed532b
--- a/Slaves/Sensors/DS18B20/DS18B20.h	Sun Jul 03 20:35:38 2016 +0000
+++ b/Slaves/Sensors/DS18B20/DS18B20.h	Sun Jul 03 20:39:30 2016 +0000
@@ -108,7 +108,7 @@
         *
         * @return CmdResult - result of operation
         **************************************************************/
-        CmdResult writeScratchPad(uint8_t th, uint8_t tl, Resolution res);
+        OneWireSlave::CmdResult writeScratchPad(uint8_t th, uint8_t tl, Resolution res);
         
         
         /**********************************************************//**
@@ -125,7 +125,7 @@
         *
         * @return CmdResult - result of operation
         **************************************************************/
-        CmdResult readScratchPad(uint8_t * scratchPadBuff);
+        OneWireSlave::CmdResult readScratchPad(uint8_t * scratchPadBuff);
         
         /**********************************************************//**
         * @brief Copy Scratchpad Command
@@ -142,7 +142,7 @@
         *
         * @return CmdResult - result of operation
         **************************************************************/
-        CmdResult copyScratchPad( void );
+        OneWireSlave::CmdResult copyScratchPad( void );
         
         
         /**********************************************************//**
@@ -160,7 +160,7 @@
         *
         * @return CmdResult - result of operation
         **************************************************************/
-        CmdResult readPowerSupply(bool & localPower);
+        OneWireSlave::CmdResult readPowerSupply(bool & localPower);
         
         
         /**********************************************************//**
@@ -176,7 +176,7 @@
         *
         * @return CmdResult - result of operation
         **************************************************************/
-        CmdResult convertTemperature(float & temp);
+        OneWireSlave::CmdResult convertTemperature(float & temp);
         
         
         /**********************************************************//**
@@ -193,7 +193,7 @@
         *
         * @return CmdResult - result of operation
         **************************************************************/
-        CmdResult recallEEPROM( void );
+        OneWireSlave::CmdResult recallEEPROM( void );
 
     };
 }