Merge remote-tracking branch 'remotes/amarkovic/tags/mips-queue-jun-26-2019' into...
[qemu/ar7.git] / hw / i2c / bitbang_i2c.h
blob9443021710d760939334843532499cda10c75819
1 #ifndef BITBANG_I2C_H
2 #define BITBANG_I2C_H
4 #include "hw/i2c/i2c.h"
6 #define BITBANG_I2C_SDA 0
7 #define BITBANG_I2C_SCL 1
9 bitbang_i2c_interface *bitbang_i2c_init(I2CBus *bus);
10 int bitbang_i2c_set(bitbang_i2c_interface *i2c, int line, int level);
12 #endif