qemu-e2k/include/hw/i2c
Corey Minyard 2ac4c5f4d2 i2c: have I2C receive operation return uint8_t
It is never supposed to fail and cannot return an error, so just
have it return the proper type.  Have it return 0xff on nothing
available, since that's what would happen on a real bus.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
2019-02-27 21:06:08 -06:00
..
aspeed_i2c.h i2c: add aspeed i2c controller 2016-06-06 16:59:29 +01:00
i2c-ddc.h i2c: switch ddc to use the new edid generator 2018-10-15 09:57:33 +02:00
i2c.h i2c: have I2C receive operation return uint8_t 2019-02-27 21:06:08 -06:00
imx_i2c.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
microbit_i2c.h arm: Stub out NRF51 TWI magnetometer/accelerometer detection 2019-01-29 11:46:03 +00:00
pm_smbus.h i2c: Split smbus into parts 2019-02-27 21:06:08 -06:00
ppc4xx_i2c.h i2c: Move typedef of bitbang_i2c_interface to i2c.h 2018-12-12 10:01:13 +01:00
smbus_eeprom.h i2c: Split smbus into parts 2019-02-27 21:06:08 -06:00
smbus_master.h i2c: Split smbus into parts 2019-02-27 21:06:08 -06:00
smbus_slave.h i2c: Split smbus into parts 2019-02-27 21:06:08 -06:00