MCU Services: Difference between revisions
(9 intermediate revisions by 3 users not shown) | |||
Line 85: | Line 85: | ||
|- | |- | ||
| 0x00060000 | | 0x00060000 | ||
| ReadGyroscopeValues (reads | | 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 | | u8 SetPowerModeIndicatorState (see [[I2C_Registers#Device_3|Register 0x29]]) | ||
|- | |- | ||
| 0x002F0000 | | 0x002F0000 | ||
Line 278: | Line 278: | ||
|- | |- | ||
| 0x00340000 | | 0x00340000 | ||
| | | ResetMcu | ||
|- | |- | ||
| 0x00350000 | | 0x00350000 | ||
Line 290: | Line 290: | ||
|- | |- | ||
| 0x00380042 | | 0x00380042 | ||
| | | Same as [[MCUHWC:GetInfoRegisters]] | ||
|- | |- | ||
| 0x00390082 | | 0x00390082 | ||
| | | SetPlayCountRegisters (u8 index, const u8 *data, u32 size). Write to free reg bank at index+8. | ||
|- | |- | ||
| 0x003A0082 | | 0x003A0082 | ||
| | | GetPlayCountRegisters | ||
|- | |- | ||
| 0x003B0640 | | 0x003B0640 | ||
Line 359: | Line 359: | ||
|- | |- | ||
| 0x004F0040 | | 0x004F0040 | ||
| SetMCUFirmUpdated(u32 flag) | | 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 495: | Line 495: | ||
|- | |- | ||
| 0x000E0080 | | 0x000E0080 | ||
| | | GetBatteryTemperature | ||
|- | |- | ||
| 0x000F00C0 | | 0x000F00C0 |