I2C:WriteDeviceRaw: Difference between revisions
Jump to navigation
Jump to search
TimmSkiller (talk | contribs) Created page with "=Request= {{IPC/Request}} {{IPC/RequestHeader|0x0014|2|2}} {{IPC/RequestEntry|u8, device ID}} {{IPC/RequestEntry|u32, size}} {{IPC/TranslateStaticBuffer|Input buffer pointer|1}} {{IPC/RequestEnd}} =Response= {{IPC/Request}} {{#vardefine:ipc_offset|0}} {{IPC/RequestHeader|0x0014|1|0}} {{IPC/RequestEntry|Result code}} {{IPC/RequestEnd}} =Description= Writes a buffer to the given I2C device raw, without selecting a specific register first. This is similar to I2C:Writ..." |
TimmSkiller (talk | contribs) No edit summary |
||
| Line 18: | Line 18: | ||
=Description= | =Description= | ||
Writes a buffer to the given I2C device raw, without selecting a specific register first. | Writes a buffer to the given I2C device raw, without selecting a specific register first. | ||
The maximum input buffer size is 0x200 for the New3DS i2c-sysmodule, and 0x10 for the Old3DS version. | |||
This is similar to [[I2C:WriteDeviceRaw8]], except this allows for writing a buffer instead of a single value. | This is similar to [[I2C:WriteDeviceRaw8]], except this allows for writing a buffer instead of a single value. | ||
Latest revision as of 16:42, 28 May 2026
Request
| Index Word | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| 0 |
| ||||||||
| 1 | u8, device ID | ||||||||
| 2 | u32, size | ||||||||
| 3 | Descriptor for static buffer (id 1) | ||||||||
| 4 | Input buffer pointer |
Response
| Index Word | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| 0 |
| ||||||||
| 1 | Result code |
Description
Writes a buffer to the given I2C device raw, without selecting a specific register first.
The maximum input buffer size is 0x200 for the New3DS i2c-sysmodule, and 0x10 for the Old3DS version.
This is similar to I2C:WriteDeviceRaw8, except this allows for writing a buffer instead of a single value.