Implementation of 1-Wire with added Alarm Search Functionality
Dependents: Max32630_One_Wire_Interface
Diff: Slaves/Sensors/DS18B20/DS18B20.h
- Revision:
- 102:d3a7e4990b59
- Parent:
- 101:e7f76cb49584
- Child:
- 104:3f48daed532b
diff -r e7f76cb49584 -r d3a7e4990b59 Slaves/Sensors/DS18B20/DS18B20.h --- 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 ); }; }