#include <i2c_bitbang.h>
Inheritance diagram for i2c_bitbang:
Public Member Functions | |
~i2c_bitbang () | |
bool | write (int addr, const unsigned char *buf, int nbytes) |
true iff successful | |
int | read (int addr, unsigned char *buf, int max_bytes) |
number of bytes read or -1 if error | |
Friends | |
i2c_sptr | make_i2c_bitbang (i2c_bbio_sptr io) |
|
|
|
number of bytes read or -1 if error
Implements i2c. |
|
true iff successful
Implements i2c. |
|
|