GNU Radio 3.6.5 C++ API
|
class for controlling i2c bus More...
#include <i2c_bitbang.h>
Public Member Functions | |
~i2c_bitbang () | |
bool | write (int addr, const unsigned char *buf, int nbytes) |
int | read (int addr, unsigned char *buf, int max_bytes) |
Friends | |
GR_CORE_API i2c_sptr | make_i2c_bitbang (i2c_bbio_sptr io) |
class for controlling i2c bus
i2c_bitbang::~i2c_bitbang | ( | ) | [inline] |
int i2c_bitbang::read | ( | int | addr, |
unsigned char * | buf, | ||
int | max_bytes | ||
) | [virtual] |
Implements i2c.
bool i2c_bitbang::write | ( | int | addr, |
const unsigned char * | buf, | ||
int | nbytes | ||
) | [virtual] |
Implements i2c.
GR_CORE_API i2c_sptr make_i2c_bitbang | ( | i2c_bbio_sptr | io | ) | [friend] |