Bus services: Difference between revisions

No edit summary
 
(5 intermediate revisions by 3 users not shown)
Line 420: Line 420:
| 5 || GetEnabled
| 5 || GetEnabled
|-
|-
| 6 || [6.0.0+] SetDutyCycle
| 6 || [6.0.0+] [[#SetDutyCycle|SetDutyCycle]]
|-
|-
| 7 || [6.0.0+] GetDutyCycle
| 7 || [6.0.0+] [[#GetDutyCycle|GetDutyCycle]]
|}
|}
=== SetDutyCycle ===
Takes an input double '''DutyCycle'''. No output.
=== GetDutyCycle ===
No input. Returns an output double '''DutyCycle'''.


= pinmux =
= pinmux =
Line 466: Line 472:
|-
|-
| 10 || [17.0.0+] GetPmConfiguration
| 10 || [17.0.0+] GetPmConfiguration
|-
| 11 || [21.0.0+]
|-
| 12 || [21.0.0+]
|}
|}


Line 506: Line 516:
|-
|-
| 3 || [[#StopPeriodicReceiveMode|StopPeriodicReceiveMode]]
| 3 || [[#StopPeriodicReceiveMode|StopPeriodicReceiveMode]]
|-
| 4 || [19.0.0+]
|-
| 5 || [19.0.0+]
|}
|}


Line 515: Line 529:


=== StartPeriodicReceiveMode ===
=== StartPeriodicReceiveMode ===
Takes an u8 '''SpiCommand''' (padded to u32), an u32, two u64s and a copy handle. No output.
Takes an u8 '''SpiCommand''' (padded to u32), an u32, two u64s and a TransferMemory handle. No output.
 
[20.0.0+] Data intended for the user-process was [[Switch_System_Flaws|moved]] from tmem+0x8 to +0x0.


=== StopPeriodicReceiveMode ===
=== StopPeriodicReceiveMode ===
No input/output.
No input/output.
=== Cmd4 ===
Takes a total of 0x10-bytes of input and an input handle. No output.
This is similar to [[#StartPeriodicReceiveMode|StartPeriodicReceiveMode]]. This eventually calls an impl func which just writes some input fields into state, then (on NX) Aborts.
=== Cmd5 ===
No input/output.
This is identical to [[#StopPeriodicReceiveMode|StopPeriodicReceiveMode]].


= led =
= led =
Line 524: Line 550:


This was added with [8.1.1+].
This was added with [8.1.1+].
This has max_sessions 2.


{| class="wikitable" border="1"
{| class="wikitable" border="1"