I2C:ReadDeviceRaw

Request

Index Word Description
0
Header 0x00150040 Cmd 0x0015 Param 1 Xlat 0
1 u8, device ID

Request Static Buffers

The handler for this IPC command expects the following 0x100-bytes after the beginning of the above command buffer:

Index Word Description
0 Descriptor for static buffer (id 0)
1 Output buffer pointer

Response

Index Word Description
0
Header 0x00150042 Cmd 0x0015 Param 1 Xlat 2
1 Result code
2 Descriptor for static buffer (id 0)
3 Output buffer pointer

Description

Reads a buffer from the given I2C device raw, without selecting a specific register first.

The maximum output buffer size is 0x200 for the New3DS i2c-sysmodule, and 0x20 for the Old3DS version.

This is similar to I2C:ReadDeviceRaw8, except this allows for reading a buffer instead of a single value.