I2C:WriteDeviceRaw

From 3dbrew
Revision as of 16:20, 28 May 2026 by 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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.

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