Download M3 32-bit MCU User Manual

Transcript
GD32F10x User Manual
0])
ACMD42
ACMD51
ac
adtc
is assigned to OCR[30].
[31:1] stuff bits
R1
[0]set_cd
[31:0] stuff bits
R1
SET_CLR_CARD_D
ETECT
SEND_SCR
Connect[1]/Disconnect[0]
the
50K
pull-up resistor on CD/DAT3 (pin 1)
of the card.
Reads the SD Configuration Register
(SCR).
Indicates to the card that the next
CMD55
ac
[31:16] RCA
R1
[15:0] stuff bits
APP_CMD
command is an application specific
command rather than a standard
command.
Used either to transfer a data block
to the card or to get a data block from
CMD56
adtc
the
[31:1] stuff bits.
R1
[0]: RD/WR
GEN_CMD
card
purpose/application
for
general
specific
command. The host sets RD/WR=1
for reading data from the card and
sets to 0 for writing data to the card.
[31]WR
CMD60
adtc
[23:18] Address
R1(rea
[7:2] Byte Count
d)/R1b
Other
are
(write)
[15:0] Data Unit
R1(rea
Count
d)/R1b
bits
RW_MULTIPLE_RE
Read or write register in address
GISTER
range.
RW_MULTIPLE_BL
Read or write data block in address
OCK
range.
reserved bits.
[31]WR
CMD61
adtc
Other
bits
are
(write)
reserved bits
Note: 1.ACMDx is Application-specific Commands for SD memory.
2. CMD60, CMD61 are Application-specific Commands for CE-ATA device.
Table 23-12 I/O Mode Commands (class 9)
Respo
Cmd
index
type
nse
argument
forma
Abbreviation
Description
t
Used to write and read 8 bit (register)
[31:16] RCA
[15:15]
CMD39
ac
write flag
[14:8]
data fields. The command addresses
register
register
address
[7:0] register data
a card and a register and provides
R4
FAST_IO
the data for writing if the write flag is
set. The R4 response contains data
read from the addressed register if
the write flag is cleared to 0. This
712