Difference between revisions of "PXIDEV:SPIWriteRead"
Jump to navigation
Jump to search
Steveice10 (talk | contribs) (Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x000D0688] |- | 1-2 | Initial Gamecard_Services_PXI#WaitOperation|WaitOperat...") |
(Fixed a typo) |
||
Line 6: | Line 6: | ||
|- | |- | ||
| 0 | | 0 | ||
− | | Header code [ | + | | Header code [0x000E0284] |
|- | |- | ||
| 1-2 | | 1-2 |
Latest revision as of 12:50, 21 January 2016
Request[edit]
Index Word | Description |
---|---|
0 | Header code [0x000E0284] |
1-2 | Initial WaitOperation |
3 | Write Buffer Size |
4 | Write Buffer TransferOption |
5-6 | Write Buffer WaitOperation |
7 | Read Buffer Size |
8 | Read Buffer TransferOption |
9-10 | Read Buffer WaitOperation |
11 | (WriteBufferSize << 8) | 0x6 |
12 | Write Buffer Pointer |
13 | (ReadBufferSize << 8) | 0x24 |
14 | Read Buffer Pointer |
Response[edit]
Index Word | Description |
---|---|
0 | Header code |
1 | Result code |
2 | Bytes Read |
Description[edit]
Writes data to the CARDSPI FIFO and reads the response. To use this, the ARM9 Access Control bit for SPICARD must be set in one of the currently running ARM11 processes.
If any of the buffers have a size of 0, their respective operation will be skipped.