
511
MSTPCR is initialized to H'FF by a reset and in hardware standby mode. It is not initialized in
software standby mode.
Bit 5—Module Stop (MSTPC5): Specifies the D/A converter module stop mode.
Bit 5
MSTPC5
Description
0
D/A converter module stop mode cleared
1
D/A converter module stop mode set
(Initial value)
13.3
Operation
D/A conversion is performed continuously while enabled by DACR. If either DADR0 is written
to, the new data is immediately converted. The conversion result is output by setting the
corresponding DAOE0 bit to 1.
The operation example described in this section concerns D/A conversion on channel 0. Figure
13-2 shows the timing of this operation.
[1] Write the conversion data to DADR0.
[2] Set the DAOE0 bit in DACR to 1. D/A conversion is started and the DA0 pin becomes an
output pin. The conversion result is output after the conversion time has elapsed. The output
value is expressed by the following formula:
DADR contents
256
× Vref
The conversion results are output continuously until DADR0 is written to again or the DAOE0
bit is cleared to 0.
[3] If DADR0 is written to again, the new data is immediately converted. The new conversion
result is output after the conversion time has elapsed.
[4] If the DAOE0 bit is cleared to 0, the DA0 pin becomes an input pin.