I2C:WriteDeviceRaw: Difference between revisions

From 3dbrew
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
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.