GD32F10x User Manual
530
A command always starts with a start bit (always 0), followed by the bit indicating the direction
of transmission (host = 1). The next 6 bits indicate the index of the command, this value being
interpreted as a binary coded number (between 0 and 63). Some commands need an
argument (e.g. an address), which is coded by 32 bits. A value denoted by ‘x’ in the table
above indicates this variable is dependent on the command. All commands are protected by
a CRC7. Every command code word is terminated by the end bit (always 1).
Command classes
The command set of the Card system is divided into several classes (See
. Each class supports a set of card functionalities.
determines the setting of CCC from the card supported
commands.
For SD cards, Class 0, 2, 4, 5 and 8 are mandatory and shall be supported. Class 7 except
CMD40 is mandatory for SDHC. The other classes are optional. The supported Card
Command Classes (CCC) are coded as a parameter in the card specific data (CSD) register
of each card, providing the host with information on how to access the card.
For MMC cards, Class 0 is mandatory and shall be supported. The other classes are either
mandatory only for specific card types or optional. By using different classes, several
configurations can be chosen (e.g. a block writable card or a stream readable card). The
supported Card Command Classes (CCC) are coded as a parameter in the card specific data
(CSD) register of each card, providing the host with information on how to access the card.
For CE-ATA device, the device shall support the MMC commands required to achieve the
transfer state during device initialization. Other interface configuration settings, such as bus
width, may require additional MMC commands also be supported. See the MMC reference.
CE-ATA makes use of the following MMC commands: CMD0 - GO_IDLE_STATE, CMD12 -
STOP_TRANSMISSION, CMD39 - FAST_IO, CMD60 - RW_MULTIPLE_REGISTER,
CMD61 - RW_MULTIPLE_BLOCK. GO_IDLE_STATE (CMD0), STOP_TRANSMISSION
(CMD12), and FAST_IO (CMD39) are as defined in the MMC reference.
RW_MULTIPLE_REGISTER (CMD60) and RW_MULTIPLE_BLOCK (CMD61) are MMC
commands defined by CE-ATA.
Содержание 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 ...