I2C:ReadRegisters8: Difference between revisions
TimmSkiller (talk | contribs) Created page with "=Request= {{IPC/Request}} {{IPC/RequestHeader|0x000D|3|0}} {{IPC/RequestEntry|u8, device ID}} {{IPC/RequestEntry|u8, starting register}} {{IPC/RequestEntry|u32, size}} {{IPC/RequestEnd}} =Request Static Buffers= {{IPC/RequestStaticBuffers}} {{#vardefine:ipc_offset|0}} {{IPC/TranslateStaticBuffer|Output buffer pointer|0}} {{IPC/RequestEnd}} =Response= {{IPC/Request}} {{#vardefine:ipc_offset|0}} {{IPC/RequestHeader|0x000D|1|2}} {{IPC/RequestEntry|Result code}} {{IPC/..." |
TimmSkiller (talk | contribs) No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 14: | Line 14: | ||
{{IPC/TranslateStaticBuffer|Output buffer pointer|0}} | {{IPC/TranslateStaticBuffer|Output buffer pointer|0}} | ||
{{IPC/RequestEnd}} | {{IPC/RequestEnd}} | ||
=Response= | =Response= | ||
| Line 27: | Line 26: | ||
=Description= | =Description= | ||
Reads a range of 8-bit I2C registers of the specified device sequentially to the given buffer. | Reads a range of 8-bit I2C registers of the specified device sequentially to the given buffer. | ||
The maximum output buffer size is 0x200 for the New3DS i2c-sysmodule, and 0x20 for the Old3DS version. | |||
For example, assuming: | For example, assuming: | ||