Difference between revisions of "MCUHWC:WriteRegister"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {{IPC/Request}} {{#vardefine:ipc_offset|0}} {{IPC/RequestEntry|Header code [0x00020082]}} {{IPC/RequestEntry|u8 register(???)}} {{IPC/RequestEntry|???}} {{IPC/Reques...")
 
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
 
{{IPC/RequestEntry|Header code [0x00020082]}}
 
{{IPC/RequestEntry|Header code [0x00020082]}}
 
{{IPC/RequestEntry|u8 register(???)}}
 
{{IPC/RequestEntry|u8 register(???)}}
{{IPC/RequestEntry|???}}
+
{{IPC/RequestEntry|size}}
{{IPC/RequestEntry|the above << 4 &#124; 0xA}}
+
{{IPC/MapPointerR|data pointer}}
{{IPC/RequestEntry|u32 data(???)}}
 
 
{{IPC/RequestEnd}}
 
{{IPC/RequestEnd}}
  
Line 17: Line 16:
  
 
=Description=
 
=Description=
This function writes data to the MCU.
+
This is just a wrapper for [[I2C_Services|I2C]] command 0x001100C2 with [[I2C_Registers|DeviceID]] 3

Latest revision as of 12:44, 6 January 2017

Request[edit]

Index Word Description
0 Header code [0x00020082]
1 u8 register(???)
2 size
3 Descriptor for mapping a read-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 0x001100C2 with DeviceID 3