D/A Converter Mode Register (Dam); D/A Conversion Value Setting Register I (Dacsi) (I = 0, 1) - 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.3 D/A converter mode register (DAM)

This register controls the operation of the D/A converter.
The DAM register can be set by a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation clears this register to 00H.
Address: FFF5CH
After reset: 00H
Symbol
7
DAM
DACEi
0
1
DAMDi
0
1
Remark i = 0, 1

10.3.4 D/A conversion value setting register i (DACSi) (i = 0, 1)

This register is used to set the analog voltage value to be output to the ANO0 and ANO1 pins when the D/A converter
is used.
The DACSi register can be read by a 16-bit memory manipulation instruction.
Reset signal generation clears this register to 00H.
Figure 10-5. Format of D/A Conversion Value Setting Register i (DACSi) (i = 0, 1)
Address: FFF58H, FFF59H (DACS0), FFF5AH, FFF5BH (DACS1)
Symbol
15
14
DACSi
Remark The relation between the resolution and analog output voltage (VANOi) of the D/A converter are as follows.
VANOi = Reference voltage for D/A converter × (DACSi)/1024
When the D/A converter is not used, set the DACEi bit to 0 (output disable) and set the DACSi register to 00H to
prevent current from flowing into the R-2R resistor ladder to reduce unnecessary current consumption.
R01UH0895EJ0100 Rev.1.00
Nov 29, 2019
Figure 10-4. Format of D/A Converter Mode Register (DAM)
R/W
6
<5>
DACE1
Stops D/A conversion operation
Enables D/A conversion operation
Normal mode
Real-time output mode
13
12
11
10
<4>
3
DACE0
D/A conversion operation control
D/A converter operation mode selection
After reset: 0000H R/W
9
8
7
6
DAC
DAC
DAC
DAC
Si9
Si8
Si7
Si6
CHAPTER 10 D/A CONVERTER
2
1
DAMD1
5
4
3
2
DAC
DAC
DAC
DAC
Si5
Si4
Si3
Si2
0
DAMD0
1
0
DAC
DAC
Si1
Si0
303

Advertisement

Table of Contents
loading

Table of Contents