488
/
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
18.7.9
SDIO data length register (SDIO_DATLEN)
Address offset: 0x28
Reset value: 0x0000 0000
SDIO_DATLEN register contains the length of data bytes to be transferred. When data transfer starts, this value is
loaded into the data counter.
Bit Field
Name
Description
31:25
Reserved
Reserved, the reset value must be maintained.
24:0
DATLEN
Data length value.
Number of data bytes to transfer.
Note: For block data transfers, the value in the data length register must be a multiple of the data block length (see
SDIO_DATCTRL). Before writing to the data control register for data transfer, the data timer register and data length
register must be written first.
18.7.10
SDIO data control register (SDIO_DATCTRL)
Address offset: 0x2C
Reset value: 0x0000 0000
SDIO_DATCTRL register controls the Data Path State Machine (DPSM).
Bit Field
Name
Description
31:13
Reserved
Reserved, the reset value must be maintained.
12
DMADIR
In DMA mode, it is configured as 1 when data output is transferred to an external device, and
configured as 0 when external device data is input.
11
SDIOEN
SD I/O enable functions.
If this bit is set, the DPSM performs SD I/O card specific operations.
10
RWAITMOD
Read wait mode.
0: Stop SDIO_CLK control read wait;