OpenBIC
OpenSource Bridge-IC
|
#include <stdio.h>
#include <stdint.h>
#include <string.h>
#include <logging/log.h>
#include "sensor.h"
#include "pmbus.h"
#include "hal_i2c.h"
#include "rtq6056.h"
Macros | |
#define | RTQ6056_BUS_VOLTAGE_LSB 0.00125 |
Functions | |
LOG_MODULE_REGISTER (dev_rtq6056) | |
uint8_t | rtq6056_read (sensor_cfg *cfg, int *reading) |
uint8_t | rtq6056_init (sensor_cfg *cfg) |
Variables | |
uint8_t | RTQ6056_DEVICE_ID [2] = { 0x12, 0x14 } |
#define RTQ6056_BUS_VOLTAGE_LSB 0.00125 |
LOG_MODULE_REGISTER | ( | dev_rtq6056 | ) |
uint8_t rtq6056_init | ( | sensor_cfg * | cfg | ) |
uint8_t rtq6056_read | ( | sensor_cfg * | cfg, |
int * | reading | ||
) |
uint8_t RTQ6056_DEVICE_ID[2] = { 0x12, 0x14 } |