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:
22:686273e55cdc
Parent:
21:00c94aeb533e
Child:
24:8942d8478d68
diff -r 00c94aeb533e -r 686273e55cdc OneWire_Masters/DS2465/DS2465.cpp
--- a/OneWire_Masters/DS2465/DS2465.cpp	Mon Mar 21 14:12:28 2016 -0500
+++ b/OneWire_Masters/DS2465/DS2465.cpp	Mon Mar 21 21:41:36 2016 +0000
@@ -665,7 +665,7 @@
 // is either the default direction (all device have same bit) or in case of 
 // a discripancy, the 'search_direction' parameter is used. 
 //
-// Returns – The DS2465 status byte result from the triplet command
+// Returns � The DS2465 status byte result from the triplet command
 //
 OneWireMaster::CmdResult DS2465::Triplet(Direction search_direction, uint8_t & status) 
 {
@@ -1098,7 +1098,7 @@
    int poll_count = 0;
 
    // 1-Wire Read Bytes (Case C)
-   //   S AD,0 [A] ADDR_CMD_REG [A] 1WRB [A] Sr AD,1 [A] [Status] A [Status] A\ 
+   //   S AD,0 [A] ADDR_CMD_REG [A] 1WRB [A] Sr AD,1 [A] [Status] A [Status] A 
    //                                                  \--------/        
    //                     Repeat until 1WB bit has changed to 0
    //   Sr AD,0 [A] SRP [A] E1 [A] Sr AD,1 [A] DD A\ P
@@ -1587,7 +1587,7 @@
   m_I2C_interface.stop();
 
   // read it back to confirm
-  // S AD,0 [A] ADDR_WCFG_REG [A] Sr AD,1 [A] [CF] A\ 
+  // S AD,0 [A] ADDR_WCFG_REG [A] Sr AD,1 [A] [CF] A 
 
   m_I2C_interface.start();
   if (m_I2C_interface.write((unsigned char)(m_I2C_address | I2C_WRITE)) != I2C_WRITE_OK)