diff options
Diffstat (limited to 'src/target/firmware/include/i2c.h')
-rw-r--r-- | src/target/firmware/include/i2c.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/target/firmware/include/i2c.h b/src/target/firmware/include/i2c.h new file mode 100644 index 00000000..37097a85 --- /dev/null +++ b/src/target/firmware/include/i2c.h @@ -0,0 +1,7 @@ +#ifndef _I2C_H +#define _I2C_H + +int i2c_write(uint8_t chip, uint32_t addr, int alen, const uint8_t *buffer, int len); +void i2c_init(int speed, int slaveadd); + +#endif /* I2C_H */ |