CTRCARD Registers

CTRCARD Registers

Registers #

Old3DSNameAddressWidthUsed by
YesCTRCARD_CNT0x100040004Process9
YesCTRCARD_BLKCNT0x100040044Process9
YesCTRCARD_SECCNT0x100040084Process9
YesCTRCARD_SECSEED0x100040104Process9
YesCTRCARD_CMD0x1000402016Process9
YesCTRCARD_FIFO0x100040304Process9

CTRCARD_CNT #

BitDescription
3-0?
4CRC status (1=Error, 0=OK)?
15-5?
19-16Transfer size (0=0 bytes, 1=4 bytes, 2=0x10 bytes, 0x40, 0x200, 0x400, 0x800, 0x1000, 8=0x4000 bytes)
23-20?
26-24Clock delay (0..5)
27Data ready (1=Ready, 0=Busy)
28Reset (1=High, 0=Low)
29Transfer mode (1=Write, 0=Read)
30Interrupt enable (1=Enable, 0=Disable)
31Start (1=Busy, 0=Idle)

Remarks #

Once reset is set high, it cannot be changed until controller is reset.

CTRCARD_BLKCNT #

BitDescription
15-0Total data blocks to read from FIFO - 1
31-16Total data blocks to write to FIFO - 1

CTRCARD_SECCNT #

BitDescription
2Latch key index
9-8Key index
15Latch seed

CTRCARD_CMD #

Specifies the 16-byte command to send. The command is split into 32-bit words, and stored as least significant word first, with each word itself in big-endian format.