MCU Services: Difference between revisions
Purpasmart (talk | contribs) |
No edit summary |
||
Line 21: | Line 21: | ||
|- | |- | ||
| 0x00010000 | | 0x00010000 | ||
| Called by 0107builder (gsp module) | | Called by 0107builder (gsp module). This writes the value of I2C-MCU register 0xf bit6 to u8 cmdreply[2], and the value of bit5 from that register to u8 cmdreply[3]. | ||
|- | |- | ||
| 0x0002.... | | 0x0002.... | ||
Line 27: | Line 27: | ||
|- | |- | ||
| 0x0003000 | | 0x0003000 | ||
| Called by 0107builder (gsp module) | | Called by 0107builder (gsp module). This writes the value of I2C-MCU register 0xf bit7 to u8 cmdreply[2]. | ||
|- | |- | ||
| 0x0004.... | | 0x0004.... | ||
Line 242: | Line 242: | ||
|- | |- | ||
| 0x002A0000 | | 0x002A0000 | ||
| GetShellState | | GetShellState. This writes the value of I2C-MCU register 0xf bit1 to u8 cmdreply[2]. | ||
|- | |- | ||
| 0x002B0000 | | 0x002B0000 | ||
| GetAdapterState | | GetAdapterState. This writes the value of I2C-MCU register 0xf bit3 to u8 cmdreply[2]. | ||
|- | |- | ||
| 0x002C0000 | | 0x002C0000 | ||
| GetBatteryChargeState | | GetBatteryChargeState. This writes the value of I2C-MCU register 0xf bit4 to u8 cmdreply[2]. | ||
|- | |- | ||
| 0x002D0000 | | 0x002D0000 |