
183
•
Bit 0—Refresh Mode (RMD): When the RFSH bit is 1, this bit selects normal refresh or self-
refresh. When the RFSH bit is 1, self-refresh mode is entered immediately after the RMD bit is
set to 1. When RMD is cleared to 0, a CAS-before-RAS refresh is performed at the interval set
in the refresh time constant register (RTCNT).
When set for self-refresh, the SH7040 Series enters self-refresh mode immediately unless it is
in the middle of a DRAM access. If it is, it enters self-refresh mode when the access ends.
Refresh requests from the interval timer are ignored in self-refresh mode.
Bit 0 (RMD)
Description
0
CAS-before-RAS refresh (initial value)
1
Self-refresh
10.2.7
Refresh Timer Counter (RTCNT)
RTCNT is a 16-bit read/write register that is used as an 8-bit up counter for refreshes or generating
interrupt requests.
RTCNT counts up with the clock selected by the CKS2–CKS0 bits of the RTCSR. RTCNT values
can always be read/written by the CPU. When RTCNT matches RTCOR, RTCNT is cleared to
H'0000 and the CMF flag of the RTCSR is set to 1. If the RFSH bit of RTCSR is 1 and the RMD
bit is 0 at this time, a CAS-before-RAS refresh is performed. Additionally, if the CMIE bit of
RTCSR is a 1, a compare match interrupt (CMI) is generated.
Bits 15–8 are reserved and play no part in counter operation. They are always read as 0.
RTCNT is initialized by power-on resets H'0000, but is not initialized by manual resets or
software standbys.
Bit:
15
14
13
12
11
10
9
8
—
—
—
—
—
—
—
—
Initial value:
0
0
0
0
0
0
0
0
R/W:
R
R
R
R
R
R
R
R
Bit:
7
6
5
4
3
2
1
0
Initial value:
0
0
0
0
0
0
0
0
R/W:
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Summary of Contents for SH7041 Series
Page 2: ......
Page 6: ......
Page 38: ...xvi ...
Page 44: ...6 ...
Page 46: ...8 ...
Page 48: ...10 ...
Page 82: ...44 ...
Page 114: ...76 ...
Page 118: ...80 ...
Page 124: ...86 ...
Page 170: ...132 ...
Page 250: ...212 ...
Page 492: ...454 ...
Page 506: ...468 ...
Page 604: ...566 ...
Page 684: ...646 ...
Page 706: ...668 ...
Page 778: ...740 ...
Page 780: ...742 ...
Page 818: ...780 ...
Page 850: ...812 ...
Page 923: ...SH7040 SH7041 SH7042 SH7043 SH7044 SH7045 Group Hardware Manual REJ09B0044 0600O ...