Datasheet
78K0/Kx2-L CHAPTER 10 REAL-TIME COUNTER
R01UH0028EJ0400 Rev.4.00 373
Sep 27, 2010
(1) Peripheral enable register 0 (PER0)
This register controls the clock supplied to peripheral functions other than the real-time counter. By stopping the
clock supplied to such peripheral functions, the power consumption can be reduced.
PER0 can be set by a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation clears this register to 00H.
Figure 10-2. Format of Peripheral Enable Register 0 (PER0)
Address: FF25H After reset: 00H R/W
Symbol <7> 6 5 4 3 2 1 0
PER0 RTCEN 0 0 0 0 0 0 0
RTCEN Control of real-time counter (RTC) input clock supply
0 Sub HALT low power consumption mode
1
Sub HALT normal mode
Note
Note To output the subsystem clock by using the PCL function while in the subsystem clock HALT mode,
set RTCEN to 1.
Caution Be sure to clear bits 0 to 6 of PER0 to “0”.
(2) Real-time counter control register 0 (RTCC0)
The RTCC0 register is an 8-bit register that is used to start or stop the real-time counter operation, control the
RTCCL and RTC1HZ pins, and set a 12- or 24-hour system and the constant-period interrupt function.
RTCC0 can be set by a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation clears this register to 00H.
<R>
<R>