Implementation of 1-Wire with added Alarm Search Functionality
Dependents: Max32630_One_Wire_Interface
Diff: OneWire_Masters/DS2465/DS2465.cpp
- Revision:
- 22:686273e55cdc
- Parent:
- 21:00c94aeb533e
- Child:
- 24:8942d8478d68
--- 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)