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 | RAA228238_READ_TEMPERATURE_1_RESOLUTION 1 |
#define | RAA228238_READ_VOUT_RESOLUTION 0.001 |
#define | RAA228238_READ_IOUT_RESOLUTION 0.1 |
#define | RAA228238_READ_POUT_RESOLUTION 1 |
Functions | |
LOG_MODULE_REGISTER (raa228238) | |
uint8_t | raa228238_read (sensor_cfg *cfg, int *reading) |
uint8_t | raa228238_init (sensor_cfg *cfg) |
#define RAA228238_READ_IOUT_RESOLUTION 0.1 |
#define RAA228238_READ_POUT_RESOLUTION 1 |
#define RAA228238_READ_TEMPERATURE_1_RESOLUTION 1 |
#define RAA228238_READ_VOUT_RESOLUTION 0.001 |
LOG_MODULE_REGISTER | ( | raa228238 | ) |
uint8_t raa228238_init | ( | sensor_cfg * | cfg | ) |
uint8_t raa228238_read | ( | sensor_cfg * | cfg, |
int * | reading | ||
) |