PTM services: Difference between revisions
No edit summary |
No edit summary |
||
Line 173: | Line 173: | ||
=== SetBatteryVoltageStateChangeEventEnabled === | === SetBatteryVoltageStateChangeEventEnabled === | ||
Takes an input bool. No output. | Takes an input bool. No output. | ||
= psm:manu = | |||
This is "nn::psm::IPsmManufactureServer". | |||
This service is not present in retail units. | |||
{| class="wikitable" border="1" | |||
|- | |||
! Cmd || Name | |||
|- | |||
| 0 || [[#EnableVdd50StateControl|EnableVdd50StateControl]] | |||
|- | |||
| 1 || [[#DisableVdd50StateControl|DisableVdd50StateControl]] | |||
|- | |||
| 2 || [[#SetVdd50State|SetVdd50State]] | |||
|} | |||
== EnableVdd50StateControl == | |||
Unofficial name. | |||
No input/output. | |||
== DisableVdd50StateControl == | |||
Unofficial name. | |||
No input/output. | |||
== SetVdd50State == | |||
Unofficial name. | |||
Takes an input [[#Vdd50State]]. No output. | |||
= tc = | = tc = | ||
Line 531: | Line 562: | ||
|- | |- | ||
| 3 || NotSupported | | 3 || NotSupported | ||
|} | |||
= Vdd50State = | |||
This is "nn::psm::Vdd50State". | |||
{| class="wikitable" border="1" | |||
|- | |||
! Value || Name | |||
|- | |||
| 0 || Unknown | |||
|- | |||
| 1 || Vdd50AOffVdd50BOff | |||
|- | |||
| 2 || Vdd50AOnVdd50BOff | |||
|- | |||
| 3 || Vdd50AOffVdd50BOn | |||
|} | |} | ||
Line 580: | Line 627: | ||
| 0x2C || 0x4 || enum. Power role (0: Unknown, 1: Sink, 2: Source) | | 0x2C || 0x4 || enum. Power role (0: Unknown, 1: Sink, 2: Source) | ||
|- | |- | ||
| 0x30 || 0x4 || enum. [[# | | 0x30 || 0x4 || enum. [[#Charger]] | ||
|- | |- | ||
| 0x34 || 0x4 || u32. Charger voltage limit in mV | | 0x34 || 0x4 || u32. Charger voltage limit in mV | ||
Line 589: | Line 636: | ||
|} | |} | ||
=== | === Charger === | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- |