PTM services: Difference between revisions
No edit summary |
No edit summary |
||
Line 561: | Line 561: | ||
| 0x10 || 0x4 || enum, same as power-role? Always 1 except when OTG where it becomes 2 | | 0x10 || 0x4 || enum, same as power-role? Always 1 except when OTG where it becomes 2 | ||
|- | |- | ||
| 0x14 || 0x4 || | | 0x14 || 0x4 || Bit field (bit8: Enable Battery Charging) | ||
|- | |- | ||
| 0x18 || 0x4 || u32. Charging limits state based on battery temperature | | 0x18 || 0x4 || u32. Charging limits state based on battery temperature | ||
Line 582: | Line 582: | ||
|- | |- | ||
| 0x3C || 0x4 || Bit field (bit0: potentially no hub, bit8: Joy-con charging, bit12: OTG) | | 0x3C || 0x4 || Bit field (bit0: potentially no hub, bit8: Joy-con charging, bit12: OTG) | ||
|} | |||
=== Charger_Type === | |||
{| class="wikitable" border="1" | |||
|- | |||
! Value || Name | |||
|- | |||
| 0 || Unknown | |||
|- | |||
| 1 || PD | |||
|- | |||
| 2 || Type-C 1.5A | |||
|- | |||
| 3 || Type-C 3.0A | |||
|- | |||
| 4 || DCP | |||
|- | |||
| 5 || CDP | |||
|- | |||
| 6 || SDP | |||
|- | |||
| 7 || Apple 500mA | |||
|- | |||
| 8 || Apple 1000mA | |||
|- | |||
| 9 || Apple 2000mA | |||
|} | |} | ||