#include <i2c.h>
Inheritance diagram for i2c:
Public Member Functions | |
i2c () | |
virtual | ~i2c () |
virtual bool | write (int addr, const unsigned char *buf, int nbytes)=0 |
true iff successful | |
virtual int | read (int addr, unsigned char *buf, int max_bytes)=0 |
number of bytes read or -1 if error |
|
|
|
|
|
number of bytes read or -1 if error
Implemented in i2c_bitbang. |
|
true iff successful
Implemented in i2c_bitbang. |