]> git.proxmox.com Git - qemu.git/blame - hw/i2c/bitbang_i2c.h
Update version for 1.5.0-rc2 release
[qemu.git] / hw / i2c / bitbang_i2c.h
CommitLineData
3cd035d8
PB
1#ifndef BITBANG_I2C_H
2#define BITBANG_I2C_H
3
0d09e41a 4#include "hw/i2c/i2c.h"
3cd035d8
PB
5
6typedef struct bitbang_i2c_interface bitbang_i2c_interface;
7
8#define BITBANG_I2C_SDA 0
9#define BITBANG_I2C_SCL 1
10
11bitbang_i2c_interface *bitbang_i2c_init(i2c_bus *bus);
12int bitbang_i2c_set(bitbang_i2c_interface *i2c, int line, int level);
13
14#endif