
GD32F403xx User Manual
519
Cmd
index
type
argument
Response
format
Abbreviation
Description
Count
Note:
1.CMD39, CMD40 are only for MMC.
2. CMD52, CMD53 are only for SD I/O card.
Table 20-13. Switch function commands (class 10)
Cmd
index
type
argument
Response
format
Abbreviation
Description
CMD6
adtc
[31] Mode
0:Check function
1:Switch function
[30:24] reserved
[23:20]
reserved
for
function group 6 (0h or Fh)
[19:16]
reserved
for
function group 5 (0h or Fh)
[15:12]
reserved
for
function group 4 (0h or Fh)
[11:8] reserved for function
group 3 (0h or Fh)
[7:4] function group 2 for
command system
[3:0] function group 1 for
access mode
R1
SWITCH_FUNC
Only for SD memory
and SD I/O. Checks
switchable
function
(mode 0) and switch
card function (mode 1).
20.5.3.
Responses
All responses are sent on the CMD line. The response transmission always starts with the left
bit of the bit string corresponding to the response code word. The code length depends on
the response type.
Responses types
There are 7 types of responses show as follows.
◼
R1 / R1b :
normal response command.
◼
R2 :
CID, CSD register.
◼
R3 :
OCR register.
◼
R4 :
Fast I/O.
◼
R5 :
Interrupt request.
◼
R6 :
Published RCA response.