Changes

182 bytes added ,  17:56, 6 January 2021
Line 85: Line 85:  
|-
 
|-
 
| 0x00060000
 
| 0x00060000
| ReadGyroscopeValues (reads gyroscopy with corrected values)
+
| ReadGyroscopeValues (reads 3x s16 gyro ADC values into IPC+8)
 
|-
 
|-
 
| 0x00070000
 
| 0x00070000
| GetRaw3DSliderPosition
+
| GetRaw3DSliderPosition (u8 position in IPC+8)
 
|-
 
|-
 
| 0x00080040
 
| 0x00080040
Line 260: Line 260:  
|-
 
|-
 
| 0x002E0000
 
| 0x002E0000
| u8 GetBatteryEmptyPatternByte0
+
| u8 SetPowerModeIndicatorState (see [[I2C_Registers#Device_3|Register 0x29]])
 
|-
 
|-
 
| 0x002F0000
 
| 0x002F0000
Line 278: Line 278:  
|-
 
|-
 
| 0x00340000
 
| 0x00340000
| WriteRegister reg=0x23 value=0x72 (writing to read-only registers does nothing)
+
| ResetMcu
 
|-
 
|-
 
| 0x00350000
 
| 0x00350000
Line 290: Line 290:  
|-
 
|-
 
| 0x00380042
 
| 0x00380042
| ReadInfoRegister(u32 unused_size, translation_param size << 4 <nowiki>|</nowiki> 0xC, u8[0x13] ptr)
+
| Same as [[MCUHWC:GetInfoRegisters]]
 
|-
 
|-
 
| 0x00390082
 
| 0x00390082
| WriteLoop (translation parameters too complex)
+
| SetPlayCountRegisters (u8 index, const u8 *data, u32 size). Write to free reg bank at index+8.
 
|-
 
|-
 
| 0x003A0082
 
| 0x003A0082
| ReadLoop (translation parameters too complex)
+
| GetPlayCountRegisters
 
|-
 
|-
 
| 0x003B0640
 
| 0x003B0640
Line 359: Line 359:  
|-
 
|-
 
| 0x004F0040
 
| 0x004F0040
| SetMCUFirmUpdated(u32 flag) not used by anything
+
| SetMCUFirmUpdated(u32 flag) used by PTM module
 
|-
 
|-
 
| 0x00500000
 
| 0x00500000
Line 371: Line 371:  
|-
 
|-
 
| 0x00530040
 
| 0x00530040
| ?
+
| SetLgyLcdData
 
|-
 
|-
 
| 0x00540000
 
| 0x00540000
| ?
+
| GetLgyLcdData
 
|-
 
|-
 
| 0x00550040
 
| 0x00550040
| ?
+
| SetLgyNativeResolutionFlag
 
|-
 
|-
 
| 0x00560000
 
| 0x00560000
| ?
+
| GetLgyNativeResolutionFlag
 
|-
 
|-
 
| 0x00570040
 
| 0x00570040
| ?
+
| SetLocalFriendCodeCounter
 
|-
 
|-
 
| 0x00580000
 
| 0x00580000
| ?
+
| GetLocalFriendCodeCounter
 
|-
 
|-
 
| 0x00590040
 
| 0x00590040
Line 393: Line 393:  
| 0x005A0000
 
| 0x005A0000
 
| [[MCURTC:GetLegacyJumpProhibitedFlag|GetLegacyJumpProhibitedFlag]]
 
| [[MCURTC:GetLegacyJumpProhibitedFlag|GetLegacyJumpProhibitedFlag]]
 +
|-
 +
| 0x005B0040
 +
| SetUUIDClockSequence
 +
|-
 +
| 0x005C0000
 +
| GetUUIDClockSequence
 +
|-
 
|}
 
|}
   Line 488: Line 495:  
|-
 
|-
 
| 0x000E0080
 
| 0x000E0080
| ?
+
| GetBatteryTemperature
 
|-
 
|-
 
| 0x000F00C0
 
| 0x000F00C0
516

edits