GD32F10x User Manual
533
Detailed command description
The following tables describe in detail all bus commands. The responses R1-R7 are defined
in
. The registers CID, CSD and DSR are described in
. The card
shall ignore stuff bits and reserved bits in an argument.
Table 19-4. Basic commands (class 0)
Cmd
index
type
argument
Response
format
Abbreviation
Description
CMD0
bc
[31:0] stuff bits
-
GO_IDLE_STATE Resets all cards to idle state
CMD1
bc
[31:0] OCR
without busy
R3
SEND_OP_COND
Asks the card, in idle state, to
send its Operating Conditions
Register
contents
in
the
response on the CMD line.
CMD2
bcr
[31:0] stuff bits
R2
ALL_SEND_CID
Asks any card to send the CID
numbers on the CMD line (any
card that is connected to the host
will respond)
CMD3
bcr
[31:0] stuff bits
R6
SEND_RELATIVE
_ADDR
Ask the card to publish a new
relative address (RCA)
CMD4
bc
[31:16] DSR
[15:0] stuff bits
-
SET_DSR
Programs the DSR of all cards
CMD5
bcr
[31:25]reserved
bits
[24]S18R
[23:0] I/O OCR
R4
IO_SEND_OP_CO
ND
Only for I/O cards. It is similar to
the operation of ACMD41 for SD
memory cards, used to inquire
about the voltage range needed
by the I/O card.
CMD6
ac
[31:26] Set to 0
[25:24] Access
[23:16] Index
[15:8] Value
[7:3] Set to 0
[2:0] Cmd Set
R1b
SWITCH
Only for MMC. Switches the
mode of operation of the
selected card or modifies the
EXT_CSD registers.
CMD7
ac
[31:16] RCA
[15:0] stuff bits
R1b
SELECT/DESELE
CT_CARD
Command
toggles
a
card
between
the
stand-by
and
transfer states or between the
programming and disconnects
states. In both cases the card is
selected by its own relative
address and gets deselected by
any other address; address 0
deselects the card.
Содержание GD32F10 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32F10x Arm Cortex M3 32 bit MCU User Manual Revision 2 6 Jun 2022 ...
Страница 63: ...GD32F10x User Manual 63 programmed during the chip production ...
Страница 117: ...GD32F10x User Manual 117 010 1 0 011 0 9 ...
Страница 416: ...GD32F10x User Manual 416 shadow register updates every update event ...
Страница 427: ...GD32F10x User Manual 427 value ...
Страница 518: ...GD32F10x User Manual 518 These bits are not used in SPI mode ...