Operation - Hitachi H8S/2378, H8S/2378R Series Hardware Manual

16 bit single-chip microcomputer
Table of Contents

Advertisement

Table 18.3 Control of D/A Conversion
Bit 5
Bit 7
DAE
DAOE3
0
0
1
1
0
1
18.4

Operation

The D/A converter includes D/A conversion circuits for six channels, each of which can operate
independently.
When DAOE bit in DACR01, DACR23, or DACR45 is set to 1, D/A conversion is enabled and
the conversion result is output.
The operation example concerns D/A conversion on channel 0. Figure 18.2 shows the timing of
this operation.
[1] Write the conversion data to DADR0.
[2] Set the DAOE0 bit in DACR01 to 1. D/A conversion is started. The conversion result is output
from the analog output pin DA0 after the conversion time t
result is continued to output until DADR0 is written to again or the DAOE0 bit is cleared to 0.
The output value is expressed by the following formula:
DADR contents
256
[3] If DADR0 is written to again, the conversion is immediately started. The conversion result is
output after the conversion time t
[4] If the DAOE0 bit is cleared to 0, analog output is disabled.
Rev. 1.0, 09/01, page 760 of 903
Bit 6
DAOE2
Description
0
D/A conversion disabled
1
Channel 4 D/A conversion enabled, channel5 D/A conversion
disabled
0
Channel 5 D/A conversion enabled, channel4 D/A conversion
disabled
1
Channel 4 and 5 D/A conversions enabled
0
D/A conversion disabled
1
Channel 4 and 5 D/A conversions enabled
0
1
×
Vref
has elapsed.
DCONV
has elapsed. The conversion
DCONV

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents