30 #include <mraa/uart_ow.h> 32 #include "ds18b20_defs.h" 53 mraa_uart_ow_context ow;
56 unsigned int numDevices;
106 DS18B20_RESOLUTIONS_T res);
void ds18b20_recall_eeprom(const ds18b20_context dev, unsigned int index)
Definition: ds18b20.c:359
unsigned int ds18b20_devices_found(const ds18b20_context dev)
Definition: ds18b20.c:378
void ds18b20_close(ds18b20_context dev)
Definition: ds18b20.c:177
void ds18b20_set_resolution(const ds18b20_context dev, unsigned int index, DS18B20_RESOLUTIONS_T res)
Definition: ds18b20.c:309
const uint8_t * ds18b20_get_id(const ds18b20_context dev, unsigned int index)
Definition: ds18b20.c:385
struct _ds18b20_context * ds18b20_context
void ds18b20_copy_scratchpad(const ds18b20_context dev, unsigned int index)
Definition: ds18b20.c:342
float ds18b20_get_temperature(const ds18b20_context dev, unsigned int index)
Definition: ds18b20.c:296
void ds18b20_update(const ds18b20_context dev, int index)
Definition: ds18b20.c:189
ds18b20_context ds18b20_init(unsigned int uart)
Definition: ds18b20.c:41