OpenBIC
OpenSource Bridge-IC
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "sensor.h"
#include "hal_i2c.h"
#include <logging/log.h>
Classes | |
struct | VOLTAGE_FULL_SCALE_RANGE_INFO |
Macros | |
#define | LTC4282_METER_HALT_BIT 5 |
#define | LTC4282_METER_RESET_BIT 6 |
Enumerations | |
enum | { SET_BIT = 0 , CLEAR_BIT } |
Functions | |
LOG_MODULE_REGISTER (dev_ltc4282) | |
uint8_t | ltc4282_read (sensor_cfg *cfg, int *reading) |
uint8_t | ltc4282_init (sensor_cfg *cfg) |
Variables | |
struct VOLTAGE_FULL_SCALE_RANGE_INFO | FOLDBACK_MODE_TABLE [4] |
#define LTC4282_METER_HALT_BIT 5 |
#define LTC4282_METER_RESET_BIT 6 |
LOG_MODULE_REGISTER | ( | dev_ltc4282 | ) |
uint8_t ltc4282_init | ( | sensor_cfg * | cfg | ) |
uint8_t ltc4282_read | ( | sensor_cfg * | cfg, |
int * | reading | ||
) |
struct VOLTAGE_FULL_SCALE_RANGE_INFO FOLDBACK_MODE_TABLE[4] |