English
Language : 

SH7760 Datasheet, PDF (977/1345 Pages) Renesas Technology Corp – SuperHTM RISC engine
Bit
Initial
Bit
Name Value R/W Description
1
CTSEL1 0
0
CTSEL0 0
R/W Command Timeout Select
R/W 00: 128 transfer clock cycles from command transmission
completion to response reception completion
01: 256 transfer clock cycles from command transmission
completion to response reception completion
10: Setting prohibited
11: Setting prohibited
Note: If R2 response (17-byte command response) is requested and CTSEL0 is cleared to 0, a
timeout is generated during response reception. Therefore, set CTSEL0 to 1.
26.3.10 Data Timeout Register (DTOUTR)
DTOUTR specifies the period to generate a data timeout. The 16-bit counter (DTOUTC) and a
prescaler, to which the peripheral bus does not have access, count the peripheral clock to monitor
the data timeout. The prescaler always counts the peripheral clock, and outputs a count pulse for
every 10,000 peripheral clock cycles. The initial value of DTOUTC is 0, and DTOUTC starts
counting the prescaler output from the start of the command sequence. DTOUTC is cleared when
the command sequence has ended, or when the command sequence has been aborted by setting
the CMDOFF bit to 1, after which the DTOUTC stops counting the prescaler output.
When the command sequence does not end, DTOUTC continues counting the prescaler output,
and enters the data timeout error states when the number of prescaler outputs reaches the number
specified in DTOUTR. When the DTERIE bit in INTCR1 is set to 1, the DTERI flag in INTSTR1
is set. As DTOUTC continues counting prescaler output, the DTERI flag setting condition is
repeatedly generated. To perform data timeout error handling, the command sequence should be
aborted by setting the CMDOFF bit to 1, and then the DTERI flag should be cleared to prevent
extra-interrupt generation.
For a command with data busy status, data timeout cannot be monitored since the command
sequence is terminated before entering the data busy state. Timeout in the data busy state should
be monitored by firmware.
Bit: 15
Initial value: 1
R/W: R/W
14
1
R/W
13
1
R/W
12
1
R/W
11
1
R/W
10
1
R/W
9
1
R/W
8
7
DTOUTR
1
1
R/W R/W
6
1
R/W
5
1
R/W
4
1
R/W
3
2
1
1
R/W R/W
1
1
R/W
0
1
R/W
Rev. 1.0, 02/03, page 927 of 1294