beautypg.com

Renesas SH7781 User Manual

Page 1230

background image

24. Multimedia Card Interface (MMCIF)

Rev.1.00 Jan. 10, 2008 Page 1200 of 1658
REJ09B0261-0100

Table 24.5 summarizes the correspondence between the commands described in the
MultiMediaCard System Specification Version 3.1 and the settings of the CMDTYR and
RSPTYR registers.

Table 24.5 Correspondence between Commands and Settings of CMDTYR and RSPTYR

CMD

CMDTYR

RSPTYR

INDEX Abbreviation

resp

6 5 4 3 2 [1:0]

6 5 4 [2:0]

CMD0 GO_IDLE_STATE

⎯ 00 000

CMD1 SEND_OP_COND

R3 00 100

CMD2 ALL_SEND_CID

R2 00

*

4

101

CMD3 SET_RELATIVE_ADDR R1 00

*

4

100

CMD4 SET_DSR

⎯ 00 000

CMD7 SELECT/DESELECT_CARD

R1b

00 1

*

4

100

CMD9 SEND_CSD

R2 00

*

4

101

CMD10

SEND_CID

R2 00

*

4

101

CMD11

READ_DAT_UNTIL_STOP

R1 1

01

*

4

100

CMD12

STOP_TRANSMISSION R1b

1

00 1

*

4

100

CMD13

SEND_STATUS

R1 00

*

4

100

CMD15 GO_INACTIVE_STATE

⎯ 00 000

CMD16

SET_BLOCKLEN

R1 00

*

4

100

CMD17 READ_SINGLE_BLOCK

R1

*

3

01

*

4

100

CMD18 READ_MULTIPLE_BLOCK R1

*

2

*

2

01

*

4

100

CMD20

WRITE_DAT_UNTIL_STOP

R1 1

10

*

4

100

CMD23

*

6

SET_BLOCK_COUNT

R1 00

*

4

100

CMD24 WRITE_BLOCK

R1

*

3

10

*

4

100

CMD25 WRITE_MULTIPLE_BLOCK R1

*

2

*

2

10

*

4

100

CMD26

PROGRAM_CID

R1 10

*

4

100

CMD27

PROGRAM_CSD

R1 10

*

4

100

CMD28

SET_WRITE_PROT

R1b

00 1

*

4

100

CMD29

CLR_WRITE_PROT

R1b

00 1

*

4

100

CMD30

SEND_WRITE_PROT

R1 01

*

4

100