#include <LOW_compTempSensor.h>
Inheritance diagram for LOW_compTempSensor:
Public Member Functions | |
class_DERIVE_FROM_EXCEPTION (data_error, component_error) | |
LOW_compTempSensor (const LOW_devDS1820 &inSensorDevice) | |
~LOW_compTempSensor () | |
float | getTemperature (const bool inDoConversion=true) |
void | recallAlarmLevels () |
void | getAlarmLevels (int8_t &outLowBound, int8_t &outHighBound) |
void | setAlarmLevels (const int8_t inLowBound, const int8_t inHighBound, const bool inPermanent=true) |
bool | checkAlarm (const bool inRecalcTemp=true) |
bool | getIsExternalPowered () const |
Protected Attributes | |
const LOW_devDS1820 & | sensorDevice |
Definition at line 32 of file LOW_compTempSensor.h.
|
Definition at line 28 of file LOW_compTempSensor.cpp. References recallAlarmLevels(). |
|
Definition at line 35 of file LOW_compTempSensor.cpp. |
|
Definition at line 102 of file LOW_compTempSensor.cpp. References LOW_devDS1820::cmd_ConvertT(), sensorDevice, and LOW_device::verifyDevice(). |
|
|
|
Definition at line 75 of file LOW_compTempSensor.cpp. References LOW_devDS1820::cmd_ReadScratchpad(), sensorDevice, LOW_devDS1820::scratchpadDS1820_t::tH, and LOW_devDS1820::scratchpadDS1820_t::tL. |
|
Definition at line 111 of file LOW_compTempSensor.cpp. References LOW_devDS1820::getIsExternalPowered(), and sensorDevice. |
|
|
Definition at line 69 of file LOW_compTempSensor.cpp. References LOW_devDS1820::cmd_RecallE2(), and sensorDevice. Referenced by LOW_compTempSensor(). |
|
Definition at line 86 of file LOW_compTempSensor.cpp. References LOW_devDS1820::cmd_CopyScratchpad(), LOW_devDS1820::cmd_WriteScratchpad(), and sensorDevice. |
|
Definition at line 81 of file LOW_compTempSensor.h. Referenced by checkAlarm(), getAlarmLevels(), getIsExternalPowered(), getTemperature(), recallAlarmLevels(), and setAlarmLevels(). |