GD32F403xx User Manual
552
Register
Short response
Long response
SDIO_RESP2
reserved
Card response [63:32]
SDIO_RESP3
reserved
Card response [31:1],plus bit 0
20.8.7.
Data timeout register (SDIO_DATATO)
Address offset: 0x24
Reset value: 0x0000 0000
This register has to be accessed by word(32-bit)
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
DATATO[31:16]
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
DATATO[15:0]
rw
Bits
Fields
Descriptions
31:0
DATATO[31:0]
Data timeout period
These bits define the data timeout period count by SDIO_CLK. When the DSM
enter the state WaitR or BUSY, the internal counter which loads from this register
starts decrement. The DSM timeout and enter the state Idle and set the
DTTMOUT flag when the counter decreases to 0.
Note:
The data timer register and the data length register must be updated before being written to the
data control register when need a data transfer.
20.8.8.
Data length register (SDIO_DATALEN)
Address offset: 0x28
Reset value: 0x0000 0000
This register has to be accessed by word(32-bit)
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Reserved
DATALEN[24:16]
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
DATALEN[15:0]
rw
Bits
Fields
Descriptions
31:25
Reserved
Must be kept at reset value.
24:0
DATALEN[24:0]
Data transfer length
This register defined the number of bytes to be transferred. When the data transfer