OpenBIC
OpenSource Bridge-IC
|
#include <stdio.h>
#include <string.h>
#include <logging/log.h>
#include "sensor.h"
#include "hal_i2c.h"
#include "pmbus.h"
#include "util_pmbus.h"
Functions | |
LOG_MODULE_REGISTER (dev_q50sn120a1) | |
int | q50sn120a1_get_status_word (uint8_t bus, uint8_t addr, uint16_t *status) |
int | q50sn120a1_read_pout (sensor_cfg *cfg, float *pout_value) |
uint8_t | q50sn120a1_read (sensor_cfg *cfg, int *reading) |
uint8_t | q50sn120a1_init (sensor_cfg *cfg) |
LOG_MODULE_REGISTER | ( | dev_q50sn120a1 | ) |
int q50sn120a1_get_status_word | ( | uint8_t | bus, |
uint8_t | addr, | ||
uint16_t * | status | ||
) |
uint8_t q50sn120a1_init | ( | sensor_cfg * | cfg | ) |
uint8_t q50sn120a1_read | ( | sensor_cfg * | cfg, |
int * | reading | ||
) |
int q50sn120a1_read_pout | ( | sensor_cfg * | cfg, |
float * | pout_value | ||
) |