OpenBIC
OpenSource Bridge-IC
ads112c.c File Reference
#include <stdio.h>
#include <string.h>
#include <logging/log.h>
#include "sensor.h"
#include "hal_i2c.h"
#include "ads112c.h"
Include dependency graph for ads112c.c:

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)
 

Function Documentation

◆ ads112c_config_reg_set()

bool ads112c_config_reg_set ( uint8_t  i2c_retry,
sensor_cfg cfg 
)
Here is the call graph for this function:

◆ ads112c_init()

uint8_t ads112c_init ( sensor_cfg cfg)
Here is the call graph for this function:

◆ ads112c_read()

uint8_t ads112c_read ( sensor_cfg cfg,
int *  reading 
)
Here is the call graph for this function:

◆ LOG_MODULE_REGISTER()

LOG_MODULE_REGISTER ( dev_ads112c  )