PCV services: Difference between revisions

No edit summary
No edit summary
Line 376: Line 376:
! Cmd || Name
! Cmd || Name
|-
|-
| 0 || [[#OpenSession]]
| 0 || [[#OpenSession|OpenSession]]
|-
|-
| 1 || [[#GetTemperatureThresholds]]
| 1 || [[#GetTemperatureThresholds|GetTemperatureThresholds]]
|-
|-
| 2 || [[#SetTemperature]]
| 2 || [[#SetTemperature|SetTemperature]]
|-
|-
| 3 || [[#GetModuleStateTable]]
| 3 || [[#GetModuleStateTable|GetModuleStateTable]]
|-
|-
| 4 || GetModuleStateTableEvent
| 4 || [[#GetModuleStateTableEvent|GetModuleStateTableEvent]]
|-
|-
| 5 || [[#GetModuleStateTableMaxCount]]
| 5 || [[#GetModuleStateTableMaxCount|GetModuleStateTableMaxCount]]
|-
|-
| 6 || [15.0.0+]
| 6 || [15.0.0+]
Line 393: Line 393:
== OpenSession ==
== OpenSession ==
Takes an input [[#Module|DeviceCode]] and an input u32. Returns an [[#IClkrstSession]].
Takes an input [[#Module|DeviceCode]] and an input u32. Returns an [[#IClkrstSession]].
== GetModuleStateTableEvent ==
Unofficial name.
No input. Returns an output Event handle.


== GetModuleStateTableMaxCount ==
== GetModuleStateTableMaxCount ==
Unofficial name.
Unofficial name.


Returns 0x1A.
No input. Returns 0x1A.


== IClkrstSession ==
== IClkrstSession ==
Line 459: Line 464:
! Cmd || Name
! Cmd || Name
|-
|-
| 0 || [[#OpenSession]]
| 0 || [[#OpenSession_2|OpenSession]]
|-
|-
| 1 || [[#GetPowerDomainStateTable]]
| 1 || [[#GetPowerDomainStateTable|GetPowerDomainStateTable]]
|-
|-
| 2 || GetPowerDomainStateTableEvent
| 2 || [[#GetPowerDomainStateTableEvent|GetPowerDomainStateTableEvent]]
|-
|-
| 3 || [[#GetPowerDomainStateTableMaxCount]]
| 3 || [[#GetPowerDomainStateTableMaxCount|GetPowerDomainStateTableMaxCount]]
|}
|}


== OpenSession ==
== OpenSession ==
Takes an input [[#PowerDomain|DeviceCode]] and returns an [[#IRegulatorSession]].
Takes an input [[#PowerDomain|DeviceCode]] and returns an [[#IRegulatorSession]].
== GetPowerDomainStateTableEvent ==
Unofficial name.
No input. Returns an output Event handle.


== GetPowerDomainStateTableMaxCount ==
== GetPowerDomainStateTableMaxCount ==
Unofficial name.
Unofficial name.


Returns 0x3.
No input. Returns 0x3.


== IRegulatorSession ==
== IRegulatorSession ==
Line 497: Line 507:
| 6 || PowerOff
| 6 || PowerOff
|-
|-
| 7 || [13.0.0+]
| 7 || [13.0.0+] [[#GetPowerOnDelayTime|GetPowerOnDelayTime]]
|-
|-
| 8 || [13.0.0+]
| 8 || [13.0.0+] [[#SetPowerOnDelayTime|SetPowerOnDelayTime]]
|-
|-
| 9 || [13.0.0+]
| 9 || [13.0.0+] [[#ClearPowerOnDelayTime|ClearPowerOnDelayTime]]
|}
|}
=== GetPowerOnDelayTime ===
Unofficial name.
No input. Returns an output u64.
=== SetPowerOnDelayTime ===
Unofficial name.
Takes an input u64. No output.
=== ClearPowerOnDelayTime ===
Unofficial name.
No input/output.


= rtc =
= rtc =