OpenBIC
OpenSource Bridge-IC
u50su4p180pmdafc.c File Reference
#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"
Include dependency graph for u50su4p180pmdafc.c:

Macros

#define U50SU4P180PMDAFC_READ_VOUT_EXP_VALUE   (1.0 / (1 << 10))
 

Functions

 LOG_MODULE_REGISTER (u50su4p180pmdafc)
 
uint8_t u50su4p180pmdafc_read (sensor_cfg *cfg, int *reading)
 
uint8_t u50su4p180pmdafc_init (sensor_cfg *cfg)
 

Macro Definition Documentation

◆ U50SU4P180PMDAFC_READ_VOUT_EXP_VALUE

#define U50SU4P180PMDAFC_READ_VOUT_EXP_VALUE   (1.0 / (1 << 10))

Function Documentation

◆ LOG_MODULE_REGISTER()

LOG_MODULE_REGISTER ( u50su4p180pmdafc  )

◆ u50su4p180pmdafc_init()

uint8_t u50su4p180pmdafc_init ( sensor_cfg cfg)
Here is the call graph for this function:

◆ u50su4p180pmdafc_read()

uint8_t u50su4p180pmdafc_read ( sensor_cfg cfg,
int *  reading 
)
Here is the call graph for this function: