libPocuter 1.0 Support library for programming the Pocuter

Public Member Functions | List of all members
PocuterI2C Class Referenceabstract

I2C Interface. More...

`#include <PocuterI2C.h>`

## Public Member Functions
virtual int | write (uint8_t i2c_addr, uint8_t i2c_reg, uint8_t *data_wr, size_t size)=0
virtual int | write (uint8_t i2c_addr, uint8_t i2c_reg, uint8_t data_wr)=0
virtual int | read (uint8_t i2c_addr, uint8_t i2c_reg, uint8_t *data_rd, size_t size)=0
virtual int | read (uint8_t i2c_addr, uint8_t i2c_reg)=0

## Detailed Description

I2C Interface.

## Member Function Documentation

## ◆ read() [1/2]

virtual int PocuterI2C::read | ( | uint8_t | i2c_addr,
|  | uint8_t | i2c_reg
| ) |  |
| pure virtual

## ◆ read() [2/2]

virtual int PocuterI2C::read | ( | uint8_t | i2c_addr,
|  | uint8_t | i2c_reg,
|  | uint8_t * | data_rd,
|  | size_t | size
| ) |  |
| pure virtual

## ◆ write() [1/2]

virtual int PocuterI2C::write | ( | uint8_t | i2c_addr,
|  | uint8_t | i2c_reg,
|  | uint8_t * | data_wr,
|  | size_t | size
| ) |  |
| pure virtual

## ◆ write() [2/2]

virtual int PocuterI2C::write | ( | uint8_t | i2c_addr,
|  | uint8_t | i2c_reg,
|  | uint8_t | data_wr
| ) |  |
| pure virtual

The documentation for this class was generated from the following file:

- include/hal/PocuterI2C.h