PSC services: Difference between revisions

Line 368: Line 368:
! Cmd || Name
! Cmd || Name
|-
|-
| 0 || GetAlarmEvent
| 0 || [[#GetAlarmEvent]]
|-
|-
| 1 || Enable
| 1 || [[#Enable]]
|-
|-
| 2 || Disable
| 2 || [[#Disable]]
|-
|-
| 3 || IsEnabled
| 3 || [[#IsEnabled]]
|-
|-
| 10 || [[#CreateWakeLock]]
| 10 || [[#CreateWakeLock]]
Line 380: Line 380:
| 11 || [[#DestroyWakeLock]]
| 11 || [[#DestroyWakeLock]]
|}
|}
=== GetAlarmEvent ===
No input, returns an output handle.
=== Enable ===
Takes an input u64, no output.
=== Disable ===
No input/output.
=== IsEnabled ===
No input, returns an output bool.


=== CreateWakeLock ===
=== CreateWakeLock ===
Line 385: Line 397:


=== DestroyWakeLock ===
=== DestroyWakeLock ===
No input/output.
Close the session opened by [[#CreateWakeLock]] when the alarm is disabled.
Close the session opened by [[#CreateWakeLock]] when the alarm is disabled.