GNU Radio 3.6.5 C++ API
|
abstract class for controlling i2c bus More...
#include <i2c.h>
Public Member Functions | |
i2c () | |
virtual | ~i2c () |
virtual bool | write (int addr, const unsigned char *buf, int nbytes)=0 |
virtual int | read (int addr, unsigned char *buf, int max_bytes)=0 |
abstract class for controlling i2c bus
i2c::i2c | ( | ) | [inline] |
virtual i2c::~i2c | ( | ) | [virtual] |
virtual int i2c::read | ( | int | addr, |
unsigned char * | buf, | ||
int | max_bytes | ||
) | [pure virtual] |
Implemented in i2c_bitbang.
virtual bool i2c::write | ( | int | addr, |
const unsigned char * | buf, | ||
int | nbytes | ||
) | [pure virtual] |
Implemented in i2c_bitbang.