MCU Services: Difference between revisions
| Line 72: | Line 72: | ||
| ? | | ? | ||
|- | |- | ||
| | | 0x00020000 | ||
| ? | | ??? test register 0x40 bit0, and writes result to IPC+8 | ||
|- | |- | ||
| | | 0x00030040 | ||
| ? | | ??? writes IPC+4 to register 0x41 | ||
|- | |- | ||
| | | 0x00040000 | ||
| ? | | ??? reads register 0x44 to IPC+8 | ||
|- | |- | ||
| | | 0x00050080 | ||
| ? | | ??? writes IPC+4 to register 0x43 and IPC+8 to register 0x44 | ||
|- | |- | ||
| | | 0x00060000 | ||
| | | ReadGyroscopeValues (reads gyroscopy with corrected values) | ||
|- | |- | ||
| 0x00070000 | | 0x00070000 | ||
| | | GetRaw3DSliderPosition | ||
|- | |- | ||
| | | 0x00080040 | ||
| ? | | ? | ||
|- | |- | ||
| Line 96: | Line 96: | ||
| ? | | ? | ||
|- | |- | ||
| | | 0x000A0040 | ||
| ? | | ? | ||
|- | |- | ||
| | | 0x000B0000 | ||
| ? | | ? | ||
|- | |- | ||
| 0x000C0000 | | 0x000C0000 | ||
| GetMcuHidEventHandle. MCU notifications 11 and 12 signal this. | | GetMcuHidEventHandle. MCU notifications 11 and 12 signal this. Handle is written to IPC+12 | ||
|- | |- | ||
| 0x000D0000 | | 0x000D0000 | ||
| GetMcuHidEventReason | | GetMcuHidEventReason. This reads an internal flield into IPC+8 and clears it. | ||
|- | |- | ||
| 0x000E0000 | | 0x000E0000 | ||
| Line 112: | Line 112: | ||
|- | |- | ||
| 0x000F0040 | | 0x000F0040 | ||
| | | EnableAccelerometerInterrupt(int enable). 1 = enable, 0 = disable accelerometer | ||
|} | |} | ||