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.
Diff: Masters/DS248x/DS248x.h
- Revision:
- 98:c4ac93efc036
- Parent:
- 91:e80108bc870a
- Child:
- 139:f0e0a7976846
--- a/Masters/DS248x/DS248x.h Wed Jun 29 19:30:08 2016 +0000 +++ b/Masters/DS248x/DS248x.h Thu Jun 30 09:17:30 2016 -0500 @@ -100,9 +100,6 @@ /// @param adrs I2C bus address of the DS248x in mbed format. DS248x(mbed::I2C & i2c_bus, uint8_t adrs); - /// Destroys I2C interface if owner. - virtual ~DS248x(){}; - /// Performs a soft reset on the DS248x. /// @note This is note a 1-Wire Reset. OneWireMaster::CmdResult reset(void); @@ -140,7 +137,6 @@ virtual OneWireMaster::CmdResult OWSetLevel(OWLevel newLevel); protected: - enum Command { DeviceResetCmd = 0xF0,