Revision 3f582262 hw/smbus.h
b/hw/smbus.h | ||
---|---|---|
37 | 37 |
(if present). The device is responsible figuring out what type of |
38 | 38 |
command this is. */ |
39 | 39 |
void (*write_data)(SMBusDevice *dev, uint8_t cmd, uint8_t *buf, int len); |
40 |
/* Likewise we can't distinguish between defferent reads, or even know
|
|
40 |
/* Likewise we can't distinguish between different reads, or even know
|
|
41 | 41 |
the length of the read until the read is complete, so read data a |
42 | 42 |
byte at a time. The device is responsible for adding the length |
43 | 43 |
byte on block reads. */ |
Also available in: Unified diff