254
CHAPTER 14 D/A CONVERTER
User’s Manual U12697EJ3V0UM
14.3 Control Registers
•
D/A converter mode registers 0 and 1 (DAM0, DAM1)
D/A converters are controlled by D/A converter mode registers 0, 1 (DAM0, DAM1). These registers enable or
stop the operation of the D/A converters.
DAM0 and DAM1 are set by a 1-bit and 8-bit memory manipulation instruction.
RESET input sets DAM0 and DAM1 to 00H.
Figure 14-2. Format of D/A Converter Mode Registers 0 and 1 (DAM0, DAM1)
Address: 0FF86H, 0FF87H After reset: 00H R/W
Symbol
7
6
5
4
3
2
1
0
DAMn
0
0
0
0
0
0
DAMn
DACEn
DAMn
D/A converter channel n operation mode
0
Normal mode
1
Real-time output mode
DACEn
D/A converter channel n control
0
Stop conversion
1
Enable conversion
Cautions 1. When the D/A converters are used, set the shared port pins to the input mode and
disconnect the pull-up resistors.
2. Always set bits 2 to 7 to 0.
3. The output when the D/A converter operation has stopped enters high-impedance state.
4. The output triggers in the real-time output mode are INTTM1 in channel 0 and INTTM2 in
channel 1.
Remark
n = 0, 1