OpenBIC
OpenSource Bridge-IC
|
#include <stdlib.h>
#include <logging/log.h>
#include "pmbus.h"
#include "sensor.h"
#include "xdp710.h"
Macros | |
#define | VSNS_CFG_REG 0xD4 |
#define | ISNS_CFG_REG 0xD5 |
#define | VSNS_CFG_RESET_VAL 0x28 |
#define | ISNS_CFG_RESET_VAL 0xB418 |
Functions | |
LOG_MODULE_REGISTER (dev_xdp710) | |
uint8_t | xdp710_read (sensor_cfg *cfg, int *reading) |
uint8_t | xdp710_init (sensor_cfg *cfg) |
#define ISNS_CFG_REG 0xD5 |
#define ISNS_CFG_RESET_VAL 0xB418 |
#define VSNS_CFG_REG 0xD4 |
#define VSNS_CFG_RESET_VAL 0x28 |
LOG_MODULE_REGISTER | ( | dev_xdp710 | ) |
uint8_t xdp710_init | ( | sensor_cfg * | cfg | ) |
uint8_t xdp710_read | ( | sensor_cfg * | cfg, |
int * | reading | ||
) |