LP50XX Driver  V1.0
Library for interaction with the LP5009 and LP5012 LED driver
I2C_coms.h File Reference

Contains i2c implementation of the platform. More...

#include "Arduino.h"
#include "Wire.h"
Include dependency graph for I2C_coms.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int8_t i2c_init ()
 i2c_init() definition.
More...
 
int8_t i2c_write_multi (uint8_t deviceAddress, uint8_t registerAddress, uint8_t *pdata, uint32_t count)
 i2c_write_multi() definition.
To be implemented by the developer More...
 
int8_t i2c_read_multi (uint8_t deviceAddress, uint8_t registerAddress, uint8_t *pdata, uint32_t count)
 i2c_read_multi() definition.
To be implemented by the developer More...
 
int8_t i2c_write_byte (uint8_t deviceAddress, uint8_t registerAddress, uint8_t data)
 i2c_write_byte() definition.
To be implemented by the developer More...
 
int8_t i2c_read_byte (uint8_t deviceAddress, uint8_t registerAddress, uint8_t *pdata)
 i2c_read_byte() definition.
To be implemented by the developer More...
 

Detailed Description

Contains i2c implementation of the platform.

Function Documentation

◆ i2c_init()

int8_t i2c_init ( )

i2c_init() definition.

◆ i2c_read_byte()

int8_t i2c_read_byte ( uint8_t  deviceAddress,
uint8_t  registerAddress,
uint8_t *  pdata 
)

i2c_read_byte() definition.
To be implemented by the developer

◆ i2c_read_multi()

int8_t i2c_read_multi ( uint8_t  deviceAddress,
uint8_t  registerAddress,
uint8_t *  pdata,
uint32_t  count 
)

i2c_read_multi() definition.
To be implemented by the developer

◆ i2c_write_byte()

int8_t i2c_write_byte ( uint8_t  deviceAddress,
uint8_t  registerAddress,
uint8_t  data 
)

i2c_write_byte() definition.
To be implemented by the developer

◆ i2c_write_multi()

int8_t i2c_write_multi ( uint8_t  deviceAddress,
uint8_t  registerAddress,
uint8_t *  pdata,
uint32_t  count 
)

i2c_write_multi() definition.
To be implemented by the developer