OpenBIC
OpenSource Bridge-IC
|
#include <stdio.h>
#include <string.h>
#include <logging/log.h>
#include "libutil.h"
#include "sensor.h"
#include "hal_i2c.h"
#include "pmbus.h"
#include "util_pmbus.h"
Macros | |
#define | BMR313_READ_VOUT_EXP_VALUE (1.0 / (1 << 5)) |
Functions | |
LOG_MODULE_REGISTER (bmr313) | |
uint8_t | bmr313_read (sensor_cfg *cfg, int *reading) |
uint8_t | bmr313_init (sensor_cfg *cfg) |
#define BMR313_READ_VOUT_EXP_VALUE (1.0 / (1 << 5)) |
uint8_t bmr313_init | ( | sensor_cfg * | cfg | ) |
uint8_t bmr313_read | ( | sensor_cfg * | cfg, |
int * | reading | ||
) |
LOG_MODULE_REGISTER | ( | bmr313 | ) |