Renesas SH7781 用户手册

下载
页码 1692
24.   Multimedia Card Interface (MMCIF) 
Rev.1.00  Jan. 10, 2008  Page 1197 of 1658 
REJ09B0261-0100 
 
24.3.11
  Command Type Register (CMDTYR) 
CMDTYR is an 8-bit readable/writable register that specifies the command format in conjunction 
with RSPTYR. Bits TY1 and TY0 specify the existence and direction of transfer data, and bits 
TY6 to TY2 specify the additional settings. All of bits TY6 to TY2 should be cleared to 0 or only 
one of them should be set to 1. Bits TY6 to TY2 can only be set to 1 if the corresponding settings 
in TY1 and TY0 allow that setting. If these bits are not set correctly, the operation cannot be 
guaranteed. When executing a single block transaction, set TY1 and TY0 to 01 or 10, and TY6 to 
TY2 to all 0s. 
Bit:
 
Initial value:
R/W:
7
6
5
4
3
2
1
0
0
0
0
0
0
0
0
0
R
TY4
TY3
TY2
TY1
TY0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
TY6
TY5
 
 
Bit Bit 
Name 
Initial 
Value R/W  Description 
7 to 5 
⎯ All 
Reserved 
These bits are always read as 0. The write value should 
always be 0. 
6 TY6  0 R/W 
Type 
Specifies a predefined multiple block transaction. 
TY[1:0] should be set to 01 or 10. 
When using the command set to this bit, it is necessary 
to specify the transfer block size and the transfer block 
number in the TBCR and TBNCR respectively. 
5 TY5  0 R/W 
Type 
Specifies a multiple block transaction when using 
secure MMC. TY[1:0] should be set to 01 or 10. 
Using the command to set to this bit, it is necessary to 
specify the transfer block size and the transfer block 
number in the TBCR and TBNCR respectively. 
4 TY4  0 R/W 
Type 
Set this bit to 1 when specifying the CMD12 command. 
Bits TY1 and TY0 should be set to 00.