]> Git Repo - qemu.git/blob - hw/i2c/bitbang_i2c.h
Merge remote-tracking branch 'remotes/dgibson/tags/ppc-for-2.11-20170908' into staging
[qemu.git] / hw / i2c / bitbang_i2c.h
1 #ifndef BITBANG_I2C_H
2 #define BITBANG_I2C_H
3
4 #include "hw/i2c/i2c.h"
5
6 typedef struct bitbang_i2c_interface bitbang_i2c_interface;
7
8 #define BITBANG_I2C_SDA 0
9 #define BITBANG_I2C_SCL 1
10
11 bitbang_i2c_interface *bitbang_i2c_init(I2CBus *bus);
12 int bitbang_i2c_set(bitbang_i2c_interface *i2c, int line, int level);
13
14 #endif
This page took 0.024713 seconds and 4 git commands to generate.