41 unsigned char addr_mask;
51 unsigned char data_reading;
55 unsigned char ctrl_on;
56 unsigned char scl_pin;
57 unsigned char scl_value;
58 unsigned char sda_pin;
59 unsigned char sda_value;
60 unsigned char sda_dir;
65void bitbang_i2c_init(
bitbang_i2c_t* i2c,
const unsigned char addr,
const unsigned char addr_mask = 0xFE);
67void bitbang_i2c_set_addr(
bitbang_i2c_t* i2c,
const unsigned char addr);
69void bitbang_i2c_send(
bitbang_i2c_t* i2c,
const unsigned char data);
72unsigned char bitbang_i2c_io(
bitbang_i2c_t* i2c,
const unsigned char scl,
const unsigned char sda);
81void bitbang_i2c_ctrl_write(
bitbang_i2c_t* i2c,
const unsigned char data);
Board class.
Definition board.h:111
Definition bitbang_i2c.h:39