I2C:WriteDeviceRaw

Revision as of 16:42, 28 May 2026 by TimmSkiller (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Request

Index Word Description
0
Header 0x00140082 Cmd 0x0014 Param 2 Xlat 2
1 u8, device ID
2 u32, size
3 Descriptor for static buffer (id 1)
4 Input buffer pointer

Response

Index Word Description
0
Header 0x00140040 Cmd 0x0014 Param 1 Xlat 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.