RL78/G1P
CHAPTER 10 D/A CONVERTER
R01UH0895EJ0100 Rev.1.00
302
Nov 29, 2019
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.
Figure 10-3. Format of Peripheral Enable Register 1 (PER1)
Address: F007AH After reset: 00H R/W
Symbol
<7>
6 5 4 3 2 1 0
PER1
DACEN
0 0 0 0 0 0 0
DACEN
Control of D/A converter input clock
0
Stops input clock supply
SFR used by the D/A converter cannot be written.
The D/A converter is in the reset status.
1
Supplies input clock.
SFR used by the D/A converter can be read/written.
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”.