PXIDEV:ReadCTRCARD Cmd42

PXIDEV:ReadCTRCARD Cmd42

Request #

Index WordDescription
0Header code [0x00030102]
1Buffer Size
2Sector Offset
3Sector Count
4u8, SectorSize
5(Size << 8) | 0x4
6Buffer Pointer

Response #

Index WordDescription
0Header code
1Result code

Description #

Reads from CTRCARD at an offset. The 32-bit words of the command written to the CTRCARD_CMD register are “0x42000000 | (SectorOffset >> 23), SectorOffset << 9, 0, 0”