Revision 4a2c8ac2 hw/i2c.c
b/hw/i2c.c | ||
---|---|---|
51 | 51 |
return bus->current_dev != NULL; |
52 | 52 |
} |
53 | 53 |
|
54 |
/* Returns nonzero if the bus is already busy, or is the address is not |
|
55 |
valid. */ |
|
54 |
/* Returns non-zero if the address is not valid. */ |
|
56 | 55 |
/* TODO: Make this handle multiple masters. */ |
57 | 56 |
int i2c_start_transfer(i2c_bus *bus, int address, int recv) |
58 | 57 |
{ |
Also available in: Unified diff