Difference between revisions of "PXIDEV:ReadCTRCARD Cmd40"
Jump to navigation
Jump to search
Steveice10 (talk | contribs) m |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 9: | Line 9: | ||
|- | |- | ||
| 1 | | 1 | ||
− | | Buffer | + | | Buffer Size |
|- | |- | ||
| 2 | | 2 | ||
− | | | + | | Sector Count |
|- | |- | ||
| 3 | | 3 | ||
− | | u8 | + | | u8, [[Gamecard_Services_PXI#SectorSize|SectorSize]] |
|- | |- | ||
| 4-7 | | 4-7 | ||
− | | | + | | Command |
|- | |- | ||
| 8 | | 8 | ||
− | | ( | + | | (Size << 8) <nowiki>|</nowiki> 0x4 |
|- | |- | ||
| 9 | | 9 | ||
− | | | + | | Buffer Pointer |
|} | |} | ||
Line 39: | Line 39: | ||
| Result code | | Result code | ||
|} | |} | ||
+ | |||
+ | =Description= | ||
+ | Reads from CTRCARD. The command written to the [[CTRCARD_Registers#CTRCARD_CMD|CTRCARD_CMD]] register is the same as provided, except the highest byte is changed to 0x40. |
Latest revision as of 08:07, 21 January 2016
Request[edit]
Index Word | Description |
---|---|
0 | Header code [0x000101C2] |
1 | Buffer Size |
2 | Sector Count |
3 | u8, SectorSize |
4-7 | Command |
8 | (Size << 8) | 0x4 |
9 | Buffer Pointer |
Response[edit]
Index Word | Description |
---|---|
0 | Header code |
1 | Result code |
Description[edit]
Reads from CTRCARD. The command written to the CTRCARD_CMD register is the same as provided, except the highest byte is changed to 0x40.