added function to set i2c start bit to public API
This commit is contained in:
parent
857fa0be76
commit
068904cf21
|
@ -32,6 +32,7 @@ void i2c_connect(I2CDriver *sd, const char* portname);
|
|||
void i2c_getstatus(I2CDriver *sd);
|
||||
int i2c_write(I2CDriver *sd, const uint8_t bytes[], size_t nn);
|
||||
void i2c_read(I2CDriver *sd, uint8_t bytes[], size_t nn);
|
||||
int i2c_start(I2CDriver *sd, uint8_t dev, uint8_t op);
|
||||
void i2c_stop(I2CDriver *sd);
|
||||
|
||||
void i2c_monitor(I2CDriver *sd, int enable);
|
||||
|
|
Loading…
Reference in New Issue