Bus services: Difference between revisions

Add information for nn::pwm::IChannelSession's SetDutyCycle and GetDutyCycle
 
(2 intermediate revisions by 2 users not shown)
Line 512: Line 512:
|-
|-
| 3 || [[#StopPeriodicReceiveMode|StopPeriodicReceiveMode]]
| 3 || [[#StopPeriodicReceiveMode|StopPeriodicReceiveMode]]
|-
| 4 || [19.0.0+]
|-
| 5 || [19.0.0+]
|}
|}


Line 521: Line 525:


=== 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 =