![Geehy SEMICONDUCTOR APM32F405 Series Скачать руководство пользователя страница 444](http://html1.mh-extra.com/html/geehy-semiconductor/apm32f405-series/apm32f405-series_user-manual_573630444.webp)
www.geehy.com Page 443
(3) This register cannot be written within 7 HCLK clock cycles after writing data. For SD I/O card,
SDIO_CLK can be stopped during read wait period, and then SDIO_CLKCTRL register does
not control SDIO_CLK.
SDIO parameter register (SDIO_ARG)
Offset address: 0x08
Reset value: 0x0000 0000
Command parameters are also part of the command, and SDIO_ARG register
contains 32-bit command parameters and is sent to the card together with the
command.
Field
Name
R/W
Description
31:0
CMDARG
R/W
Command Argument
Store the command parameters.
SDIO command register (SDIO_CMD)
Offset address: 0x0C
Reset value: 0x0000 0000
SDIO_CMD register contains command index and command type bit.
Field
Name
R/W
Description
5:0
CMDINDEX
R/W
Command Index
The command index, as part of the command, is transmitted to the
card together with the command.
7:6
WAITRES
R/W
Wait for Response
Indicate whether CPSM needs to wait for the response, and if it needs
to wait for the response, the response type will be indicated.
00: No response, expecting CMDSENT flag
01: Short response, expecting CMDREND or CCRCFAIL flag
10: No response, expecting CMDSENT flag
11: Long response, expecting CMDREND or CCRCFAIL fag
8
WAITINT
R/W
CPSM Waits for Interrupt Request
CPSM enables or disables the command timeout control and waits for
interrupt request.
0: Enable
1: Disable
9
WENDDATA R/W
CPSM Waits for Ends of Data Transfer (CmdPend Internal Signal)
0: Invalid
1: CPSM waits for the end of data transmission before starting to
transmit a command.
10
CPSMEN
R/W
Command Path State Machine (CPSM) Enable
Enable CPSM.
0: Disable
1: Enable
11
SDIOSC
R/W
SD I/O Suspend Command
0: Invalid
1: The command to be sent is a suspend command (only used for SD
I/O card).