Peripheral Enable Register 1 (Per1) - Renesas RL78/G1P Hardware User Manual

16-bit single-chip microcontroller
Hide thumbs Also See for RL78/G1P:
Table of Contents

Advertisement

RL78/G1P

10.3.2 Peripheral enable register 1 (PER1)

The PER1 register is used to enable or disable supply of the clock signal to peripheral hardware. Clock supply to a
hardware that is not in use is stopped in order to reduce power consumption and noise.
When the D/A converter is to be used, be sure to set bit 7 (DACEN) of this register to 1.
The PER1 register can be set by a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation clears this register to 00H.
Address: F007AH
After reset: 00H
Symbol
<7>
PER1
DACEN
DACEN
0
1
Cautions 1. When setting the D/A converter, be sure to set the DACEN bit to 1 first. If DACEN = 0, writing to a
control register of the D/A converter is ignored, and all read values are default values (except for
port mode register 2 (PM2), and port register 2 (P2)).
2. Be sure to clear bits 0 to 6 to "0".
R01UH0895EJ0100 Rev.1.00
Nov 29, 2019
Figure 10-3. Format of Peripheral Enable Register 1 (PER1)
R/W
6
5
0
0
Stops input clock supply
 SFR used by the D/A converter cannot be written.
 The D/A converter is in the reset status.
Supplies input clock.
 SFR used by the D/A converter can be read/written.
4
3
0
0
Control of D/A converter input clock
CHAPTER 10 D/A CONVERTER
2
1
0
0
0
0
302

Advertisement

Table of Contents
loading

Table of Contents