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

Go to the source code of this file.

Functions

bool mp2971_fwupdate (uint8_t bus, uint8_t addr, uint8_t *img_buff, uint32_t img_size)
 
bool mp2971_get_vout_max (sensor_cfg *cfg, uint8_t rail, uint16_t *millivolt)
 
bool mp2971_get_vout_min (sensor_cfg *cfg, uint8_t rail, uint16_t *millivolt)
 
bool mp2971_set_vout_max (sensor_cfg *cfg, uint8_t rail, uint16_t *millivolt)
 
bool mp2971_set_vout_min (sensor_cfg *cfg, uint8_t rail, uint16_t *millivolt)
 
bool mp2971_get_checksum (uint8_t bus, uint8_t addr, uint32_t *checksum)
 
bool mp2971_get_vout_command (sensor_cfg *cfg, uint8_t rail, uint16_t *millivolt)
 
bool mp2971_set_vout_command (sensor_cfg *cfg, uint8_t rail, uint16_t *millivolt)
 
bool mp2971_get_vr_status (sensor_cfg *cfg, uint8_t rail, uint8_t vr_status_rail, uint16_t *vr_status)
 
bool mp2971_clear_vr_status (sensor_cfg *cfg, uint8_t rail)
 

Function Documentation

◆ mp2971_clear_vr_status()

bool mp2971_clear_vr_status ( sensor_cfg cfg,
uint8_t  rail 
)
Here is the call graph for this function:

◆ mp2971_fwupdate()

bool mp2971_fwupdate ( uint8_t  bus,
uint8_t  addr,
uint8_t *  img_buff,
uint32_t  img_size 
)

◆ mp2971_get_checksum()

bool mp2971_get_checksum ( uint8_t  bus,
uint8_t  addr,
uint32_t *  checksum 
)

◆ mp2971_get_vout_command()

bool mp2971_get_vout_command ( sensor_cfg cfg,
uint8_t  rail,
uint16_t *  millivolt 
)
Here is the call graph for this function:

◆ mp2971_get_vout_max()

bool mp2971_get_vout_max ( sensor_cfg cfg,
uint8_t  rail,
uint16_t *  millivolt 
)
Here is the call graph for this function:

◆ mp2971_get_vout_min()

bool mp2971_get_vout_min ( sensor_cfg cfg,
uint8_t  rail,
uint16_t *  millivolt 
)
Here is the call graph for this function:

◆ mp2971_get_vr_status()

bool mp2971_get_vr_status ( sensor_cfg cfg,
uint8_t  rail,
uint8_t  vr_status_rail,
uint16_t *  vr_status 
)
Here is the call graph for this function:

◆ mp2971_set_vout_command()

bool mp2971_set_vout_command ( sensor_cfg cfg,
uint8_t  rail,
uint16_t *  millivolt 
)
Here is the call graph for this function:

◆ mp2971_set_vout_max()

bool mp2971_set_vout_max ( sensor_cfg cfg,
uint8_t  rail,
uint16_t *  millivolt 
)
Here is the call graph for this function:

◆ mp2971_set_vout_min()

bool mp2971_set_vout_min ( sensor_cfg cfg,
uint8_t  rail,
uint16_t *  millivolt 
)
Here is the call graph for this function: