I2C:WriteRegisters8: Difference between revisions
TimmSkiller (talk | contribs) Created page with "=Request= =Request= {{IPC/Request}} {{IPC/RequestHeader|0x000B|3|2}} {{IPC/RequestEntry|u8, device ID}} {{IPC/RequestEntry|u8, starting register}} {{IPC/RequestEntry|u32, size}} {{IPC/TranslateStaticBuffer|Input buffer pointer|1}} {{IPC/RequestEnd}} =Response= {{IPC/Request}} {{#vardefine:ipc_offset|0}} {{IPC/RequestHeader|0x000B|1|0}} {{IPC/RequestEntry|Result code}} {{IPC/RequestEnd}} =Description= Writes the given buffer sequentially to a range of 8-bit I2C regis..." |
TimmSkiller (talk | contribs) No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
=Request= | =Request= | ||
{{IPC/Request}} | {{IPC/Request}} | ||
| Line 21: | Line 20: | ||
=Description= | =Description= | ||
Writes the given buffer sequentially to a range of 8-bit I2C registers of the specified device. | Writes the given buffer sequentially to a range of 8-bit I2C registers of the specified device. | ||
The maximum input buffer size is 0x200 for the New3DS i2c-sysmodule, and 0x10 for the Old3DS version. | |||
For example, writing a buffer of consisting of <code>{ 0xAA, 0xBB, 0xCC, 0xDD }</code> with starting register 0x5 would do the following: | For example, writing a buffer of consisting of <code>{ 0xAA, 0xBB, 0xCC, 0xDD }</code> with starting register 0x5 would do the following: | ||