I2C:WriteRegisters8: Difference between revisions
Jump to navigation
Jump to search
TimmSkiller (talk | contribs) Created page with "=Request= =Request= {{IPC/Request}} {{IPC/RequestHeader|0x000B|3|2}} {{IPC/RequestEntry|u8, device ID}} {{IPC/RequestEntry|u8, starting register}} {{IPC/RequestEntry|u32, size}} {{IPC/TranslateStaticBuffer|Input buffer pointer|1}} {{IPC/RequestEnd}} =Response= {{IPC/Request}} {{#vardefine:ipc_offset|0}} {{IPC/RequestHeader|0x000B|1|0}} {{IPC/RequestEntry|Result code}} {{IPC/RequestEnd}} =Description= Writes the given buffer sequentially to a range of 8-bit I2C regis..." |
TimmSkiller (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
=Request= | =Request= | ||
{{IPC/Request}} | {{IPC/Request}} | ||
Revision as of 15:13, 28 May 2026
Request
| Index Word | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| 0 |
| ||||||||
| 1 | u8, device ID | ||||||||
| 2 | u8, starting register | ||||||||
| 3 | u32, size | ||||||||
| 4 | Descriptor for static buffer (id 1) | ||||||||
| 5 | Input buffer pointer |
Response
| Index Word | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| 0 |
| ||||||||
| 1 | Result code |
Description
Writes the given buffer sequentially to a range of 8-bit I2C registers of the specified device.
For example, writing a buffer of consisting of { 0xAA, 0xBB, 0xCC, 0xDD } with starting register 0x5 would do the following:
reg[0x5] = 0xAA
reg[0x6] = 0xBB
reg[0x7] = 0xCC
reg[0x8] = 0xDD