GD32F20x User Manual
636
index
format
CMD16
ac
[31:0] block
length
R1
SET_BLOCK_LEN
CMD42
adtc
[31:0]
Reserved bits
(Set all 0)
R1
LOCK_UNLOCK
Used to set/reset the password
or lock/unlock the card. The size
of the data block is set by the
SET_BLOCK_LEN command.
Reserved bits in the argument
and in Lock Card Data Structure
shall be set to 0.
Table 24-11. Application-specific commands (class 8)
Cmd
index
type
argument
Response
format
Abbreviation
Description
ACMD41
bcr
[31]reserved bit
[30]HCS
[29:24]reserved
bits
[23:0]V
DD
Voltage
Window(OCR[23:0
])
R3
SD_SEND_OP_
COND
Sends host capacity support
information (HCS) and asks
the accessed card to send
its operating condition
register(OCR) content in the
response. HCS is effective
when card receives
SEND_IF_COND command.
CCS bit is assigned to
OCR[30].
ACMD42
ac
[31:1] stuff bits
[0]set_cd
R1
SET_CLR_CAR
D_DETECT
Connect[1]/Disconnect[0] the
50K pull-up resistor on
CD/DAT3 (pin 1) of the card.
ACMD51
adtc
[31:0] stuff bits
R1
SEND_SCR
Reads the SD Configuration
Register (SCR).
CMD55
ac
[31:16] RCA
[15:0] stuff bits
R1
APP_CMD
Indicates to the card that the
next command is an
application specific
command rather than a
standard command.
CMD56
adtc
[31:1] stuff bits.
[0] RD/WR
R1
GEN_CMD
Used either to transfer a
data block to the card or to
get a data block from the
card for general
purpose/application specific
command. The host sets
RD/WR=1 for reading data
from the card and sets to 0
Summary of Contents for GD32F20 Series
Page 191: ...GD32F20x User Manual 191 Bits Fields Descriptions 31 0 TRNDATA 31 0 32 Bit Random data ...
Page 290: ...GD32F20x User Manual 290 conversion is ongoing ...
Page 325: ...GD32F20x User Manual 325 15 0 ALRM 15 0 RTC alarm value low ...
Page 385: ...GD32F20x User Manual 385 ...
Page 523: ...GD32F20x User Manual 523 clears AERR bit by writing 0 to it ...