![ARTERY AT32F435 Series Скачать руководство пользователя страница 556](http://html1.mh-extra.com/html/artery/at32f435-series/at32f435-series_reference-manual_2977592556.webp)
AT32F435/437
Series Reference Manual
2022.11.11
Page 556
Rev 2.03
Table 25-4
Data stream read/write comm ands
CMD index Type
Parameter
Response
format
Abbreviation
Description
CMD11
adtc
[31: 0]= data address R1
READ_DAT_
UNTIL_STOP
Read data stream form the card starting
from a given address until the
STOP_TRANSMISSION is received.
CMD20
adtc
[31: 0]= data address R1
WRITE_DAT_
UNTIL_STOP
Read data stream form the host starting
from a given address until the
STOP_TRANSMISSION is received.
Table 25-5
Data block write commands
CMD index Type
Parameter
Response
format
Abbreviation
Description
CMD16
ac
[31: 0]=data block
length
R1
SET_
BLOCKLEN
This command is used to set the length
of data blocks (in bytes) for all block
commands. The default value is 512
bytes.
CMD23
ac
[31: 16]=set to 0
[15: 0]=data block
size
R1
SET_BLOCK_
COUNT
Define the number of blocks to be
transferred in the data block read/write
that follows
CMD24
adtc
[31: 0]=data address R1
WRITE_
BLOCK
Write a data block of the size set by the
CMD16
CMD25
adtc
[31: 0]=data address R1
WRITE_
MULTIPLE
BLOCK
Continuously write data blocks until the
STOP_TRANSMISSION is received
CMD26
adtc
[31: 0]= stuff bits
R1
PROGRAM_
CID
Program the card identification register
CMD27
adtc
[31: 0]= stuff bits
R1
PROGRAM_
CSD
Program the programmable bits of the
CSD
Table 25-6
Block-based write protect commands
CMD index Type
Parameter
Response
format
Abbreviation
Description
CMD28
ac
[31: 0]= data address R1b
SET_WRITE_
PROT
If the card has write protection features,
this command sets the write protection
bit of the specified group. The properties
of write protection are placed in the card-
specific area (WP_GRP_SIZE).
CMD29
ac
[31: 0]= data address R1b
CLR_WRITE_PR
OT
If the card has write protection features,
this command clears the write protection
bit of the specified group.
CMD30
adtc
[31: 0]=write protect
data address
R1
SEND_WRITE_P
ROT
If the card has write protection features,
this command asks the card to send the
status of the write protection bits.