![]() |
EVE 1.0
|
Driver for I2C-based temperature sensor type Microchip MCP9808. More...
#include <dev/i2c-master.h>
Go to the source code of this file.
Data Structures | |
struct | temp_sensor_t |
Functions | |
Functions called from application programs | |
bool | TempSensorInit (const struct temp_sensor_t *TempSensor) |
Name: TempSensorInit Initializes the I2C-based temperature sensor for continously convertion. I2C address range is 0x18 - 0x1f. Max baudrate is 400 kbit/s. Higest resolution is selected (1/16°C). Temperature convertion time is typical 250ms. Temperature measurement range is from -40°C to +125°C. Typical current consumption is 200µA. More... | |
bool | TempSensorDisable (const struct temp_sensor_t *TempSensor) |
Name: TempSensorDisable Disables and powers down the I2C-based temperature sensor. Typical current consumption is 0.1µA in power down mode. More... | |
bool | TempSensorGet (const struct temp_sensor_t *TempSensor, int8_t *Value) |
Name: TempSensorGet Reads temperature value from temperature sensor. Resolution 1.0°C. More... | |
bool | TempSensorHighResGet (const struct temp_sensor_t *TempSensor, int16_t *Value) |
Name: TempSensorHighResGet Reads temperature value from temperature sensor. Resolution 0.1°C. More... | |
Driver for I2C-based temperature sensor type Microchip MCP9808.
Definition in file temp-sensor-mcp9808.h.