PXIDEV:ReadCTRCARD Cmd40

From 3dbrew
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Request

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

Index Word Description
0 Header code
1 Result code

Description

Reads from CTRCARD. The command written to the CTRCARD_CMD register is the same as provided, except the highest byte is changed to 0x40.