GD32W51x User Manual
809
23.8.3.
Command argument register (SDIO_CMDAGMT)
Address offset: 0x08
Reset value: 0x0000 0000
This register defines 32 bit command argument, which will be used as part of the command
(bit 39 to bit 8).
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
CMDAGMT[31:16]
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
CMDAGMT[15:0]
rw
Bits
Fields
Descriptions
31:0
CMDAGMT[31:0]
SDIO card command argument
This field defines the SDIO card command argument w hich sent to card. This field
is the bits [39:8] of command message. If the command message contains an
argument, this field must update before w ritting SDIO_CMDCTL register w hen
sending a command.
23.8.4.
Command control register (SDIO_CMDCTL)
Address offset: 0x0C
Reset value: 0x0000 0000
The SDIO_CMDCTL register contains the command index and other command control bits to
control command state machine.
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 ATAEN
NINTEN ENCMDC
SUSPEN
D
CSMEN
WAITDE
ND
INTWAIT
CMDRESP[1:0]
CMDIDX[5:0]
rw
rw
rw
rw
rw
rw
rw
rw
rw
Bits
Fields
Descriptions
31:15
Reserved
Must be kept at reset value.
14
ATAEN
CE-ATA command enable(CE-ATA only)
If this bit is set, the host enters the CE-ATA mode, and the CSM transfers CMD61.
0: CE-ATA disable