Difference between revisions of "MCUHWC:ReadRegister"

From 3dbrew
Jump to navigation Jump to search
(Merge this to I2C_Registers)
 
(8 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
{{#vardefine:ipc_offset|0}}
 
{{#vardefine:ipc_offset|0}}
 
{{IPC/RequestEntry|Header code [0x00010082]}}
 
{{IPC/RequestEntry|Header code [0x00010082]}}
{{IPC/RequestEntry|u8 register(???)}}
+
{{IPC/RequestEntry|u8 register}}
 
{{IPC/RequestEntry|size}}
 
{{IPC/RequestEntry|size}}
 
{{IPC/MapPointerW|data pointer}}
 
{{IPC/MapPointerW|data pointer}}
Line 16: Line 16:
  
 
=Description=
 
=Description=
This function reads data from the MCU?
+
This is just a wrapper for [[I2C_Services|I2C]] command 0x001200C2 with [[I2C_Registers|DeviceID]] 3
 +
 
 +
=Registers=
 +
This table has been merged to the [[I2C_Registers#Device_3|I2C Registers]] page.

Latest revision as of 01:24, 11 March 2017

Request[edit]

Index Word Description
0 Header code [0x00010082]
1 u8 register
2 size
3 Descriptor for mapping a write-only buffer in the target process
4 data pointer

Response[edit]

Index Word Description
0 Header code
1 Result code

Description[edit]

This is just a wrapper for I2C command 0x001200C2 with DeviceID 3

Registers[edit]

This table has been merged to the I2C Registers page.