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

Go to the source code of this file.

Classes

struct  isl69259_config
 

Macros

#define TWO_COMPLEMENT_NEGATIVE_BIT   BIT(15)
 
#define ADJUST_IOUT_RANGE   2
 

Functions

bool isl69260_get_vout_max (sensor_cfg *cfg, uint8_t rail, uint16_t *millivolt)
 
bool isl69260_get_vout_min (sensor_cfg *cfg, uint8_t rail, uint16_t *millivolt)
 
bool isl69260_set_vout_max (sensor_cfg *cfg, uint8_t rail, uint16_t *millivolt)
 
bool isl69260_set_vout_min (sensor_cfg *cfg, uint8_t rail, uint16_t *millivolt)
 
bool isl69259_fwupdate (uint8_t bus, uint8_t addr, uint8_t *img_buff, uint32_t img_size)
 
bool isl69259_get_raa_hex_mode (uint8_t bus, uint8_t addr, uint8_t *mode)
 
bool isl69259_get_raa_crc (uint8_t bus, uint8_t addr, uint8_t mode, uint32_t *crc)
 
bool get_raa_remaining_wr (uint8_t bus, uint8_t addr, uint8_t mode, uint16_t *remain)
 
bool isl69260_get_vout_command (sensor_cfg *cfg, uint8_t rail, uint16_t *millivolt)
 
bool isl69260_set_vout_command (sensor_cfg *cfg, uint8_t rail, uint16_t *millivolt)
 
bool isl69260_get_vr_status (sensor_cfg *cfg, uint8_t rail, uint8_t vr_status_rail, uint16_t *vr_status)
 
bool isl69260_clear_vr_status (sensor_cfg *cfg, uint8_t rail)
 

Macro Definition Documentation

◆ ADJUST_IOUT_RANGE

#define ADJUST_IOUT_RANGE   2

◆ TWO_COMPLEMENT_NEGATIVE_BIT

#define TWO_COMPLEMENT_NEGATIVE_BIT   BIT(15)

Function Documentation

◆ get_raa_remaining_wr()

bool get_raa_remaining_wr ( uint8_t  bus,
uint8_t  addr,
uint8_t  mode,
uint16_t *  remain 
)

◆ isl69259_fwupdate()

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

◆ isl69259_get_raa_crc()

bool isl69259_get_raa_crc ( uint8_t  bus,
uint8_t  addr,
uint8_t  mode,
uint32_t *  crc 
)

◆ isl69259_get_raa_hex_mode()

bool isl69259_get_raa_hex_mode ( uint8_t  bus,
uint8_t  addr,
uint8_t *  mode 
)

◆ isl69260_clear_vr_status()

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

◆ isl69260_get_vout_command()

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

◆ isl69260_get_vout_max()

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

◆ isl69260_get_vout_min()

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

◆ isl69260_get_vr_status()

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

◆ isl69260_set_vout_command()

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

◆ isl69260_set_vout_max()

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

◆ isl69260_set_vout_min()

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