Datasheet

CHAPTER 9 REAL-TIME COUNTER
User’s Manual U18698EJ1V0UD
268
(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 9-5. Format of Real-Time Counter Control Register 2 (RTCC2)
Address: FF8BH 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
/fRTC (1.953125 ms)
1 0 0 1 2
7
/fRTC (3.90625 ms)
1 0 1 0 2
8
/fRTC (7.8125 ms)
1 0 1 1 2
9
/fRTC (15.625 ms)
1 1 0 0 2
10
/fRTC (31.25 ms)
1 1 0 1 2
11
/fRTC (62.5 ms)
1 1 1
×
2
12
/fRTC (125 ms)
Change ICT2, ICT1, and ICT0 when RINTE = 0.
RCLOE2
Note
RTCDIV pin output control
0 Output of RTCDIV pin is disabled.
1 Output of RTCDIV pin is enabled.
RCKDIV Selection of RTCDIV pin output frequency
0 RTCDIV pin outputs 512 Hz.
1 RTCDIV pin outputs 16.384 kHz.
Note RCLOE0 and RCLOE2 must not be enabled at the same time.
Caution When the output from RTCDIV pin is stopped, the output continues after a maximum of two
clocks of f
RTC 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
XT
may be generated.