Datasheet
78K0/Kx2-L CHAPTER 10 REAL-TIME COUNTER
R01UH0028EJ0400 Rev.4.00 377
Sep 27, 2010
(4) Real-time counter control register 2 (RTCC2)
The RTCC2 register is an 8-bit register that is used to control the interval interrupt function and the RTCDIV pin.
RTCC2 can be set by a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation clears this register to 00H.
Figure 10-5. Format of Real-Time Counter Control Register 2 (RTCC2)
Address: FF6FH After reset: 00H R/W
Symbol <7> <6> <5> 4 3 2 1 0
RTCC2 RINTE RCLOE2 RCKDIV 0 0 ICT2 ICT1 ICT0
RINTE ICT2 ICT1 ICT0 Interval interrupt (INTRTCI) selection
0
× × ×
Interval interrupt is not generated.
1 0 0 0 2
6
/fSUB (1.953125 ms)
1 0 0 1 2
7
/fSUB (3.90625 ms)
1 0 1 0 2
8
/fSUB (7.8125 ms)
1 0 1 1 2
9
/fSUB (15.625 ms)
1 1 0 0 2
10
/fSUB (31.25 ms)
1 1 0 1 2
11
/fSUB (62.5 ms)
1 1 1
×
2
12
/fSUB (125 ms)
RCLOE2
Notes 1, 2
RTCDIV pin output control
0 Output of RTCDIV pin is disabled.
1 Output of RTCDIV pin is enabled.
RCKDIV
Note 1
Selection of RTCDIV pin output frequency
0 RTCDIV pin outputs 512 Hz (1.95 ms).
1 RTCDIV pin outputs 16.384 kHz (0.061 ms).
Notes 1. 78K0/KC2-L (44-pin and 48-pin products) only
2. RCLOE0 and RCLOE2 must not be enabled at the same time.
Cautions 1. Change ICT2, ICT1, and ICT0 when RINTE = 0.
2. When the output from RTCDIV pin is stopped, the output continues after a maximum of two
clocks of f
SUB and enters the low level. While 512 Hz is output, and when the output is
stopped immediately after entering the high level, a pulse of at least one clock width of f
SUB
may be generated.
Remark f
SUB: Subsystem clock oscillation frequency