I2C:ReplaceRegisterBits8

From 3dbrew
Revision as of 14:45, 28 May 2026 by TimmSkiller (talk | contribs) (Created page with "=Request= {{IPC/Request}} {{IPC/RequestHeader|0x0001|4|0}} {{IPC/RequestEntry|u8, device ID}} {{IPC/RequestEntry|u8, register}} {{IPC/RequestEntry|u8, value}} {{IPC/RequestEntry|u8, mask}} {{IPC/RequestEnd}} =Response= {{IPC/Request}} {{#vardefine:ipc_offset|0}} {{IPC/RequestHeader|0x0001|1|0}} {{IPC/RequestEntry|Result code}} {{IPC/RequestEnd}} =Description= Replaces the bits in the given I2C device's register according to the given mask and value.")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request

Index Word Description
0
Header 0x00010100 Cmd 0x0001 Param 4 Xlat 0
1 u8, device ID
2 u8, register
3 u8, value
4 u8, mask

Response

Index Word Description
0
Header 0x00010040 Cmd 0x0001 Param 1 Xlat 0
1 Result code

Description

Replaces the bits in the given I2C device's register according to the given mask and value.