
182
•
Bit 6—Compare Match Flag (CMF): This status flag, which indicates that the values of
RTCNT and RTCOR match, is set/cleared under the following conditions:
Bit 6 (CMF)
Description
0
Clear condition: After RTCSR is read when CMF is 1, 0 is written in
CMF. In some cases it will clear when DTC is activated by a compare
match interrupt; refer to section 8, Data Transfer Controller (DTC), for
details. (initial value)
1
Set condition: RTCNT = RTCOR. When both RTCNT and RTCOR are
in an initialized state (when values have not been rewritten since
initialization, and RTCNT has not had its value changed due to a count-
up), RTCNT and RTCOR match, as both are H'0000, but in this case
CMF is not set.
•
Bit 5—Compare Match Interrupt Enable (CMIE): Enables or disables an interrupt request
caused by the CMF bit of the RTCSR when CMF is set to 1.
Bit 5 (CMIE)
Description
0
Disables an interrupt request caused by CMF (initial value)
1
Enables an interrupt request caused by CMF
•
Bits 4–2—Clock Select (CKS2–CKS0): Select the clock to input to RTCNT from among the
seven types of internal clock obtained from dividing the system clock (
φ
).
Bit 4 (CKS2)
Bit 3 (CKS1)
Bit 2 (CKS0)
Description
0
0
0
Stops count-up (initial value)
1
φ
/2
1
0
φ
/8
1
φ
/32
1
0
0
φ
/128
1
φ
/512
1
0
φ
/2048
1
φ
/4096
•
Bit 1—Refresh Control (RFSH): Selects whether to use refresh control for DRAM.
Bit 1 (RFSH)
Description
0
Do not refresh DRAM (initial value)
1
Refresh DRAM
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 ...