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

Go to the source code of this file.

Functions

bool mp29816a_get_fw_version (uint8_t bus, uint8_t addr, uint32_t *rev)
 
bool mp29816a_get_vout_max (sensor_cfg *cfg, uint8_t rail, uint16_t *millivolt)
 
bool mp29816a_get_vout_min (sensor_cfg *cfg, uint8_t rail, uint16_t *millivolt)
 
bool mp29816a_set_vout_max (sensor_cfg *cfg, uint8_t rail, uint16_t *millivolt)
 
bool mp29816a_set_vout_min (sensor_cfg *cfg, uint8_t rail, uint16_t *millivolt)
 
bool mp29816a_get_iout_oc_warn_limit (sensor_cfg *cfg, uint16_t *value)
 
bool mp29816a_set_iout_oc_warn_limit (sensor_cfg *cfg, uint16_t value)
 
bool mp29816a_fwupdate (uint8_t bus, uint8_t addr, uint8_t *img_buff, uint32_t img_size)
 
bool mp29816a_get_vout_command (sensor_cfg *cfg, uint8_t rail, uint16_t *millivolt)
 
bool mp29816a_set_vout_command (sensor_cfg *cfg, uint8_t rail, uint16_t *millivolt)
 
bool mp29816a_get_vr_status (sensor_cfg *cfg, uint8_t rail, uint8_t vr_status_rail, uint16_t *vr_status)
 
bool mp29816a_clear_vr_status (sensor_cfg *cfg, uint8_t rail)
 
bool mp29816a_get_uvp (sensor_cfg *cfg, uint16_t *uvp_threshold)
 
bool mp29816a_set_uvp_threshold (sensor_cfg *cfg, uint16_t *write_uvp_threshold)
 
bool mp29816a_get_vout_offset (sensor_cfg *cfg, uint16_t *vout_offset)
 
bool mp29816a_set_vout_offset (sensor_cfg *cfg, uint16_t *write_vout_offset)
 
bool mp29816a_get_total_ocp (sensor_cfg *cfg, uint16_t *total_ocp)
 
bool mp29816a_set_total_ocp (sensor_cfg *cfg, uint16_t *write_total_ocp)
 
bool mp29816a_get_ovp_1 (sensor_cfg *cfg, uint16_t *ovp_1)
 
bool mp29816a_set_ovp_1 (sensor_cfg *cfg, uint16_t *write_total_ocp)
 
bool mp29816a_get_ovp_2 (sensor_cfg *cfg, uint16_t *ovp_2)
 
bool mp29816a_set_ovp_2_action (sensor_cfg *cfg, uint16_t *write_ovp_2_action)
 

Function Documentation

◆ mp29816a_clear_vr_status()

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

◆ mp29816a_fwupdate()

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

◆ mp29816a_get_fw_version()

bool mp29816a_get_fw_version ( uint8_t  bus,
uint8_t  addr,
uint32_t *  rev 
)
Here is the call graph for this function:

◆ mp29816a_get_iout_oc_warn_limit()

bool mp29816a_get_iout_oc_warn_limit ( sensor_cfg cfg,
uint16_t *  value 
)
Here is the call graph for this function:

◆ mp29816a_get_ovp_1()

bool mp29816a_get_ovp_1 ( sensor_cfg cfg,
uint16_t *  ovp_1 
)
Here is the call graph for this function:

◆ mp29816a_get_ovp_2()

bool mp29816a_get_ovp_2 ( sensor_cfg cfg,
uint16_t *  ovp_2 
)
Here is the call graph for this function:

◆ mp29816a_get_total_ocp()

bool mp29816a_get_total_ocp ( sensor_cfg cfg,
uint16_t *  total_ocp 
)
Here is the call graph for this function:

◆ mp29816a_get_uvp()

bool mp29816a_get_uvp ( sensor_cfg cfg,
uint16_t *  uvp_threshold 
)
Here is the call graph for this function:

◆ mp29816a_get_vout_command()

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

◆ mp29816a_get_vout_max()

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

◆ mp29816a_get_vout_min()

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

◆ mp29816a_get_vout_offset()

bool mp29816a_get_vout_offset ( sensor_cfg cfg,
uint16_t *  vout_offset 
)
Here is the call graph for this function:

◆ mp29816a_get_vr_status()

bool mp29816a_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:

◆ mp29816a_set_iout_oc_warn_limit()

bool mp29816a_set_iout_oc_warn_limit ( sensor_cfg cfg,
uint16_t  value 
)
Here is the call graph for this function:

◆ mp29816a_set_ovp_1()

bool mp29816a_set_ovp_1 ( sensor_cfg cfg,
uint16_t *  write_total_ocp 
)
Here is the call graph for this function:

◆ mp29816a_set_ovp_2_action()

bool mp29816a_set_ovp_2_action ( sensor_cfg cfg,
uint16_t *  write_ovp_2_action 
)
Here is the call graph for this function:

◆ mp29816a_set_total_ocp()

bool mp29816a_set_total_ocp ( sensor_cfg cfg,
uint16_t *  write_total_ocp 
)
Here is the call graph for this function:

◆ mp29816a_set_uvp_threshold()

bool mp29816a_set_uvp_threshold ( sensor_cfg cfg,
uint16_t *  write_uvp_threshold 
)
Here is the call graph for this function:

◆ mp29816a_set_vout_command()

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

◆ mp29816a_set_vout_max()

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

◆ mp29816a_set_vout_min()

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

◆ mp29816a_set_vout_offset()

bool mp29816a_set_vout_offset ( sensor_cfg cfg,
uint16_t *  write_vout_offset 
)
Here is the call graph for this function: