I2C:WriteDeviceRaw
Jump to navigation
Jump to search
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.