OpenBIC
OpenSource Bridge-IC
plat_util.h File Reference
#include <stdio.h>
#include <stdint.h>
Include dependency graph for plat_util.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

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

◆ plat_i2c_read()

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

◆ plat_i2c_write()

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