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 | MFR_VR_CONFIG2_VOUT_MODE_BIT BIT(11) |
#define | MFR_VR_CONFIG2 0x5E |
Functions | |
LOG_MODULE_REGISTER (mp2856gut) | |
uint8_t | mp2856gut_read (sensor_cfg *cfg, int *reading) |
uint8_t | mp2856gut_init (sensor_cfg *cfg) |
#define MFR_VR_CONFIG2 0x5E |
#define MFR_VR_CONFIG2_VOUT_MODE_BIT BIT(11) |
LOG_MODULE_REGISTER | ( | mp2856gut | ) |
uint8_t mp2856gut_init | ( | sensor_cfg * | cfg | ) |
uint8_t mp2856gut_read | ( | sensor_cfg * | cfg, |
int * | reading | ||
) |