HID services: Difference between revisions

Line 752: Line 752:
This is not used internally by sdk-nso besides exposing it to the user. With the sdk-nso for [9.0.0+] the wrapper funcs for this was removed (sdk-nso still has the actual cmd).
This is not used internally by sdk-nso besides exposing it to the user. With the sdk-nso for [9.0.0+] the wrapper funcs for this was removed (sdk-nso still has the actual cmd).


This must be used before [[#ReadSerialFlash]]. Afterwards, this Event is used to wait for the async operation started by [[#ReadSerialFlash]] to finish. After waiting on the Event, [[#GetOperationResult]] should be used.
This must be used before [[#ReadSerialFlash]]/[[#WriteSerialFlash]]. Afterwards, this Event is used to wait for the async operation started by [[#ReadSerialFlash]]/[[#WriteSerialFlash]] to finish. After waiting on the Event, [[#GetOperationResult]] should be used.


== ReadSerialFlash ==
== ReadSerialFlash ==
Line 758: Line 758:


Reads from the specified controller's spi-flash. The input size is the original size without page-alignment. The TransferMemory permissions is RW-.
Reads from the specified controller's spi-flash. The input size is the original size without page-alignment. The TransferMemory permissions is RW-.
See also [[#AcquireOperationEventHandle]].


With the sdk-nso for [9.0.0+] the wrapper funcs for this was removed (sdk-nso still has the actual cmd).
With the sdk-nso for [9.0.0+] the wrapper funcs for this was removed (sdk-nso still has the actual cmd).
Line 765: Line 767:


Writes to the specified controller's spi-flash. The TransferMemory permissions is R--.
Writes to the specified controller's spi-flash. The TransferMemory permissions is R--.
See also [[#AcquireOperationEventHandle]].


With the sdk-nso for [9.0.0+] the wrapper funcs for this was removed (sdk-nso still has the actual cmd).
With the sdk-nso for [9.0.0+] the wrapper funcs for this was removed (sdk-nso still has the actual cmd).