![Geehy SEMICONDUCTOR APM32F405 Series Скачать руководство пользователя страница 431](http://html1.mh-extra.com/html/geehy-semiconductor/apm32f405-series/apm32f405-series_user-manual_573630431.webp)
www.geehy.com Page 430
Comman
d Index
Type
Parameter
Response
format
Short name
Description
CMD27
adtc
[31:0] Stuffing
bit
R1
PROGAM_C
SD
Program the programmable bits
in the card CSD.
CMD28
ac
[31:0]Data
address
R1b
SET_WRITE
_PROT
If the card has write protection
function, this command will set
the write protection bit of the
specified group.
The write
protection characteristic is set
in the special data area of the
card (WP_GRP_SIZE)
CMD29
ac
[31:0]Data
address
R1b
CLR_WRITE
_PROT
If the card has write protection
function, this command will
clear the write protection bit of
the addressing group.
CMD30
adtc
[31:0]Write
protection data
address
R1
SEND_WRI
TE_PROT
If the card has write protection
function, the command
requests the card to transmit
write protection bit state.
Specific Operations
SD I/O card operations
SD I/O card (including IO card and combined card) supports the following
specific operations:
Read wait operation
Pause/Recovery operation
Interrupt
SDIO supports these operations only when setting SDIO_DCTRL SDIOEN bit;
except for read pause, it does not require special hardware operation.
SD I/O read wait operation
Read wait (RW) is only used for SD I/O 1-bit and 4-bit modes. Read wait
operation allows a master to transmit a signal to stop data transmission when
performing the operation of reading multiple blocks for the card, and allows the
master to transmit commands to any function in the SD I/O card.
Before receiving the first data block, it is allowed to start the read wait process,
enable the data channel (DTEN bit is set to 1), enable SDIO specific operation
(SDIOEN bit is set to 1), and start read wait. At the same time, the data are
transmitted from the card to the SDIO master, and DPSM will directly enter the
read wait state from idle state.