OpenBIC
OpenSource Bridge-IC
|
#include "sensor.h"
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) |
bool get_exponent_from_vout_mode | ( | sensor_cfg * | cfg, |
float * | exponent | ||
) |
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 | ||
) |
float slinear11_to_float | ( | uint16_t | read_value | ) |