Line 56:
Line 56:
| 0x000D0688
| 0x000D0688
| [[2.0.0-2]]
| [[2.0.0-2]]
−
| SPICARD related, to use this the [[NCCH/Extended_Header|arm9-access-control]] bit for SPICARD must be set in one of the currently running ARM11 processes.
+
| [[PXIDEV:SPIMultiWriteRead|SPIMultiWriteRead]]
|-
|-
| 0x000E0284
| 0x000E0284
| [[2.0.0-2]]
| [[2.0.0-2]]
−
| SPICARD related, to use this the [[NCCH/Extended_Header|arm9-access-control]] bit for SPICARD must be set in one of the currently running ARM11 processes.
+
| [[PXIDEV:SPIWriteRead|SPIWriteRead]]
|-
|-
| 0x000F0000
| 0x000F0000
| [[2.0.0-2]]
| [[2.0.0-2]]
| This reads the 0x200-byte [[NCSD]] header from the gamecard. Then the u8 from ncsdhdr+0x18B(partitionflags[3]) is copied to cmdreply[2].
| This reads the 0x200-byte [[NCSD]] header from the gamecard. Then the u8 from ncsdhdr+0x18B(partitionflags[3]) is copied to cmdreply[2].
+
|}
+
+
==Types==
+
===TransferOption===
+
{| class="wikitable" border="1"
+
|-
+
! Bits
+
! Description
+
|-
+
| 0-5
+
| [[Filesystem_services#CardSpiBaudRate|CardSpiBaudRate]]
+
|-
+
| 6-7
+
| [[Filesystem_services#CardSpiBusMode|CardSpiBusMode]]
+
|}
+
+
===WaitOperation===
+
{| class="wikitable" border="1"
+
|-
+
! Bits
+
! Description
+
|-
+
| 0-3
+
| [[#WaitType|WaitType]]
+
|-
+
| 4-7
+
| [[#DeassertType|DeassertType]]
+
|-
+
| 8-63
+
| Nanoseconds
+
|}
+
+
===WaitType===
+
{| class="wikitable" border="1"
+
|-
+
! Value
+
! Description
+
|-
+
| 0
+
| None
+
|-
+
| 1
+
| Sleep
+
|-
+
| 2
+
| Wait for IREQ, return if timeout
+
|-
+
| 3
+
| Wait for IREQ, continue if timeout
+
|}
+
+
===DeassertType===
+
{| class="wikitable" border="1"
+
|-
+
! Value
+
! Description
+
|-
+
| 0
+
| None
+
|-
+
| 1
+
| Before wait
+
|-
+
| 2
+
| After wait
|}
|}