489
/
838
Nations Technologies Inc.
Tel
:
+86-755-86309900
:
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
Bit Field
Name
Description
1: Use SDIO_DAT2 to control read wait.
9
RWAITSTOP
Read wait stop.
0: If RWAITEN is set, execute read wait;
1: Stop read wait if RWAITEN is set.
8
RWAITEN
Read wait start.
Setting this bit starts a read wait operation.
7:4
BLKSIZE[3:0]
Data block size.
When block data transfer mode is selected, this field defines the data block length:
0000: block length = 2
0
= 1 byte;
0001: block length = 2
1
= 2 bytes;
0010: block length = 2
2
= 4 bytes;
0011: block length = 2
3
= 8 bytes;
0100: (decimal 4) block length=2
4
=16 bytes;
0101: (decimal 5) block length=2
5
=32 bytes;
0110: (decimal 6) block length = 2
6
= 64 bytes;
0111: block length = 2
7
= 128 bytes;
1000: block length = 2
8
= 256 bytes;
1001: block length = 2
9
= 512 bytes;
1010: block length = 2
10
= 1024 bytes;
1011: block length = 2
11
= 2048 bytes;
1100: block length=2
12
=4096 bytes;
1101: block length=2
13
=8192 bytes;
1110: block length = 2
14
= 16384 bytes;
1111: reserved.
3
DMAEN
DMA enable bit.
0: Turn off DMA;
1: Enable DMA.
2
TRANSMOD
Data transfer mode selection.
0: block data transfer;
1: Streaming data transmission.
1
DATDIR
Data transfer direction selection.
0: controller to card;
1: Card to the controller.
0
DATEN
Data transfer enabled bit.
If this bit is set to 1, data transfer starts. Depending on the DATDIR direction bit, the DPSM
enters the Wait_S or Wait_R state, and if the RWAITEN bit is set at the very beginning of the
transfer, the DPSM enters the read wait state. The enable bit does not need to be cleared after a
data transfer, but SDIO_DATCTRL must be changed to allow a new data transfer.
Note: This register cannot be written within 7 HCLK clock cycles after writing data.