English
Language : 

UPD78F1502AGK-GAK-AX Datasheet, PDF (436/1031 Pages) Renesas Technology Corp – 16-Bit Single-Chip Microcontrollers
78K0R/Lx3
CHAPTER 11 D/A CONVERTER (μ PD78F150xA only)
11.3 Registers Used in D/A Converter
The D/A converter uses the following four registers.
• Peripheral enable register 0 (PER0)
• D/A converter mode register (DAM)
• D/A conversion value setting registers W0, W1 (DACSW0, DACSW1)
• D/A conversion value setting registers 0, 1 (DACS0, DACS1)
(1) Peripheral enable register 0 (PER0)
PER0 is used to enable or disable use of each peripheral hardware macro. Clock supply to a hardware macro that is
not used is stopped in order to reduce the power consumption and noise.
When the D/A converter is used, be sure to set bit 6 (DACEN) of this register to 1.
PER0 can be set by a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation clears this register to 00H.
Cautions When setting the D/A converter, be sure to set DACEN to 1 first. If DACEN = 0, writing to a
control register of the D/A converter is ignored, and, even if the register is read, only the default
value is read.
Figure 11-2. Format of Peripheral Enable Register 0 (PER0)
Address: F00F0H After reset: 00H R/W
Symbol
<7>
<6>
<5>
PER0
RTCEN
DACEN
ADCEN
<4>
IICAEN Note
<3>
SAU1EN
<2>
SAU0EN
<1>
TAU1EN
<0>
TAU0EN
DACEN
0
1
Control of D/A converter input clock
Stops supply of input clock.
• 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.
Note 78K0R/LG3, 78K0R/LH3 only
R01UH0004EJ0501 Rev.5.01
420
Jun 20, 2011