OpenBIC
OpenSource Bridge-IC
|
#include <stdio.h>
#include <string.h>
#include <logging/log.h>
#include "sensor.h"
#include "hal_i2c.h"
#include "ads112c.h"
Functions | |
LOG_MODULE_REGISTER (dev_ads112c) | |
bool | ads112c_config_reg_set (uint8_t i2c_retry, sensor_cfg *cfg) |
uint8_t | ads112c_read (sensor_cfg *cfg, int *reading) |
uint8_t | ads112c_init (sensor_cfg *cfg) |
bool ads112c_config_reg_set | ( | uint8_t | i2c_retry, |
sensor_cfg * | cfg | ||
) |
uint8_t ads112c_init | ( | sensor_cfg * | cfg | ) |
uint8_t ads112c_read | ( | sensor_cfg * | cfg, |
int * | reading | ||
) |
LOG_MODULE_REGISTER | ( | dev_ads112c | ) |