OpenBIC
OpenSource Bridge-IC
util_pmbus.h File Reference
#include "sensor.h"
Include dependency graph for util_pmbus.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

float slinear11_to_float (uint16_t)
 
bool get_exponent_from_vout_mode (sensor_cfg *, float *)
 
int pmbus_read_command (uint8_t bus, uint8_t addr, uint8_t command, uint8_t *result, uint8_t read_len)
 
int pmbus_set_page (uint8_t bus, uint8_t addr, uint8_t page)
 

Function Documentation

◆ get_exponent_from_vout_mode()

bool get_exponent_from_vout_mode ( sensor_cfg cfg,
float *  exponent 
)
Here is the call graph for this function:

◆ pmbus_read_command()

int pmbus_read_command ( uint8_t  bus,
uint8_t  addr,
uint8_t  command,
uint8_t *  result,
uint8_t  read_len 
)
Here is the call graph for this function:

◆ pmbus_set_page()

int pmbus_set_page ( uint8_t  bus,
uint8_t  addr,
uint8_t  page 
)
Here is the call graph for this function:

◆ slinear11_to_float()

float slinear11_to_float ( uint16_t  read_value)