exec.c: address_space_translate: handle access to addr 0 of 2^64 sized region
[qemu/ar7.git] / hw / i2c / bitbang_i2c.h
blob2866ac351b763a48b26e3372d15a9e5525bd7868
1 #ifndef BITBANG_I2C_H
2 #define BITBANG_I2C_H
4 #include "hw/i2c/i2c.h"
6 typedef struct bitbang_i2c_interface bitbang_i2c_interface;
8 #define BITBANG_I2C_SDA 0
9 #define BITBANG_I2C_SCL 1
11 bitbang_i2c_interface *bitbang_i2c_init(i2c_bus *bus);
12 int bitbang_i2c_set(bitbang_i2c_interface *i2c, int line, int level);
14 #endif