MCUHWC:ReadRegister: Difference between revisions

MarcusD (talk | contribs)
MarcusD (talk | contribs)
No edit summary
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 function reads data from the MCU
 
=Registers=
{| class="wikitable" border="1"
|-
!  ID
!  Info
!  Description
|-
| 0x04
0x05
| size=1, rw
| Top/bottom screen flicker
|-
| 0x08
| size=1, ro
| Raw 3D slider state
|-
| 0x09
| size=1, ro
| Volume slider state (0x00 - 0x3F)
This is the same value returned by [[MCUHWC:GetSoundVolume|MCUHWC:GetSoundVolume]]
|-
| 0x0F
| size=1, ??
| ???
|-
| 0x27
| size=1, ro
| Raw volume slider state
|-
| 0x28
| size=1, ro
| 3D slider state(?) (0xFF if 3D is not enabled(?))
|-
| 0x46
| size=1, ro
| Gyro Y(?) axis rotation (0x00 = flat, 0x40 = 3DS standing on right side, 0xBE = 3DS standing on left side)
|-
| 0x48
| size=1, ro
| Gyro Z(?) axis rotation (0x00 = flat, 0x40 = 3DS standing vertically, 0xBE = 3DS base is vertically upside-down)
|-
| 0x4A
| size=1, ro
| Gyro X(?) axis rotation (0x00 = 3DS standing vertically, 0x40 = face-down flat, 0xBE = flat)
|}