GD32W51x User Manual
811
23.8.5.
Command index response register (SDIO_RSPCMDIDX)
Address offset: 0x10
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
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reserved
RSPCMDIDX[5:0]
r
Bits
Fields
Descriptions
31:6
Reserved
Must be kept at reset value.
5:0
RSPCMDIDX[5:0]
Last response command index
Read-only bits field. This field contains the command index of the last command
response received. If the response doesn’t have the command index (long response
and short response of R3), the content of this register is undefined.
23.8.6.
Response register (SDIO_RESPx x=0..3)
Address offset: 0x14+(4*x), x=0..3
Reset value: 0x0000 0000
These register contains the content of the last card response received.
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
RESPx[31:16]
r
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
RESPx[15:0]
r
Bits
Fields
Descriptions
31:0
RESPx[31:0]
Card state. The content of the response, see
Table 23-32. SDIO_RESPx register
The short response is 32 bits, the long response is 127 bits (bit 128 is the end bit 0).
Table 23-32. SDIO_RESPx register at different response type
Register
Short response
Long response
SDIO_RESP0
Card response[31:0]
Card response[127:96]