added function to set i2c start bit to public API

This commit is contained in:
Ethan Slattery 2019-05-11 11:25:50 -07:00
parent 857fa0be76
commit 068904cf21
1 changed files with 1 additions and 0 deletions

View File

@ -32,6 +32,7 @@ void i2c_connect(I2CDriver *sd, const char* portname);
void i2c_getstatus(I2CDriver *sd); void i2c_getstatus(I2CDriver *sd);
int i2c_write(I2CDriver *sd, const uint8_t bytes[], size_t nn); int i2c_write(I2CDriver *sd, const uint8_t bytes[], size_t nn);
void i2c_read(I2CDriver *sd, 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_stop(I2CDriver *sd);
void i2c_monitor(I2CDriver *sd, int enable); void i2c_monitor(I2CDriver *sd, int enable);