OpenBIC
OpenSource Bridge-IC
plat_util.c File Reference
#include "libutil.h"
#include "plat_util.h"
#include "plat_i2c.h"
#include <logging/log.h>
Include dependency graph for plat_util.c:

Functions

 LOG_MODULE_REGISTER (plat_util)
 
bool plat_i2c_read (uint8_t bus, uint8_t addr, uint8_t offset, uint8_t *data, uint8_t len)
 
bool plat_i2c_write (uint8_t bus, uint8_t addr, uint8_t offset, uint8_t *data, uint8_t len)
 

Function Documentation

◆ LOG_MODULE_REGISTER()

LOG_MODULE_REGISTER ( plat_util  )

◆ plat_i2c_read()

bool plat_i2c_read ( uint8_t  bus,
uint8_t  addr,
uint8_t  offset,
uint8_t *  data,
uint8_t  len 
)
Here is the call graph for this function:

◆ plat_i2c_write()

bool plat_i2c_write ( uint8_t  bus,
uint8_t  addr,
uint8_t  offset,
uint8_t *  data,
uint8_t  len 
)
Here is the call graph for this function: