Renesas rl78 User Manual

Page of 1004
 
RL78/G1A 
 
CHAPTER  5   CLOCK  GENERATOR 
R01UH0305EJ0200  Rev.2.00 
 
 
152  
Jul 04, 2013 
5.3.6  Peripheral enable register 0 (PER0) 
These registers are used to enable or disable supplying the clock to the peripheral hardware.  Clock supply to the 
hardware that is not used is also stopped so as to decrease the power consumption and noise. 
To use the peripheral functions below, which are controlled by this register, set (1) the bit corresponding to each 
function before specifying the initial settings of the peripheral functions. 
•  Real-time clock, 12-bit interval timer 
• A/D converter 
•  Serial interface IICA0 
•  Serial array unit 1 
•  Serial array unit 0 
•  Timer array unit 0 
 
The PER0 register can be set by a 1-bit or 8-bit memory manipulation instruction. 
Reset signal generation clears these registers to 00H. 
 
Figure 5-7.  Format of Peripheral Enable Register 0 (PER0) (1/3) 
 
Address:  F00F0H     After reset:  00H     R/W 
Symbol 
<7> 6 <5> 
<4> 
<3> 
<2> 1 <0> 
PER0 RTCEN 
ADCEN 
IICA0EN
 
SAU1EN
SAU0EN
0 TAU0EN
 
RTCEN 
Control of real-time clock (RTC) and 12-bit interval timer input clock supply 
 
Stops input clock supply. 
•  SFR used by the real-time clock (RTC) and 12-bit interval timer cannot be written. 
•  The real-time clock (RTC) and 12-bit interval timer are in the reset status. 
 1 
Enables input clock supply. 
•  SFR used by the real-time clock (RTC) and 12-bit interval timer can be read and written. 
 
Caution 
Be sure to clear the following bits to 0. 
25-pin products: bits 1, 3, 6 
32, 48, 64-pin products: bits 1, 6