Definition in file ds75lx.h.
Go to the source code of this file.
Data Structures | |
struct | ds75lx_params_t |
Device initialization parameters. More... | |
struct | ds75lx_t |
Device descriptor for the DS75LX sensor. More... | |
Enumerations | |
enum | ds75lx_resolution_t { DS75LX_RESOLUTION_9 = 0, DS75LX_RESOLUTION_10, DS75LX_RESOLUTION_11, DS75LX_RESOLUTION_12 } |
Thermometer resolution. More... | |
enum | { DS75LX_OK = 0, DS75LX_ERR_I2C } |
Status and error return codes. More... | |
Functions | |
int | ds75lx_init (ds75lx_t *dev, const ds75lx_params_t *params) |
Initialize the given DS75LX device. More... | |
int | ds75lx_read_temperature (const ds75lx_t *dev, int16_t *temperature) |
Read temperature value from the given DS75LX device, returned in c°C. More... | |
int | ds75lx_wakeup (const ds75lx_t *dev) |
Wakeup the sensor. More... | |
int | ds75lx_shutdown (const ds75lx_t *dev) |
Shutdown the sensor. More... | |