OpenBIC
OpenSource Bridge-IC
|
#include <stdio.h>
#include <string.h>
#include <logging/log.h>
#include "sensor.h"
#include "hal_i2c.h"
#include "emc1413.h"
Macros | |
#define | EMC1413_DEFAULT_RESOLUTION 0.125 |
#define | EMC1413_TEMP_SHIFT_BIT 5 |
Functions | |
LOG_MODULE_REGISTER (dev_emc1413) | |
uint8_t | emc1413_read (sensor_cfg *cfg, int *reading) |
uint8_t | emc1413_init (sensor_cfg *cfg) |
#define EMC1413_DEFAULT_RESOLUTION 0.125 |
#define EMC1413_TEMP_SHIFT_BIT 5 |
uint8_t emc1413_init | ( | sensor_cfg * | cfg | ) |
uint8_t emc1413_read | ( | sensor_cfg * | cfg, |
int * | reading | ||
) |
LOG_MODULE_REGISTER | ( | dev_emc1413 | ) |