Mitsubishi Electric M32R Series User Manual page 527

Mitsubishi 32-bit risc single-chip microcomputers
Table of Contents

Advertisement

11
(6) ADnCSTP (A-Dn conversion stop) bit (D6)
Scan mode A-D conversion of the A-Dn converter can be halted by setting this bit to 1 while the
operation is in progress. This bit is effective only when operating in scan mode. If single mode
and scan mode both are active in special operation mode, manipulation of this bit does not affect
single mode operation. Scan mode operation is halted immediately by a write to this bit, and the
A-D conversion being executed in a channel is aborted in the middle, without transfer to the A-D
data register.
If the A-Dn conversion start bit and A-Dn conversion stop bit are set to 1 at the same time, the A-
Dn conversion stop bit has priority.
(7) ADnCSTT (A-Dn conversion start) bit (D7)
This bit is used to start scan mode operation of the A-Dn converter in software. This bit is effective
only when a software trigger has been selected by the ADnCSEL (A-Dn conversion start trigger
selection) bit, and starts A-D conversion when it is set to 1.
If the A-Dn conversion start bit and A-Dn conversion stop bit are set to 1 at the same time, the A-
Dn conversion stop bit has priority.
If this bit is set to 1 again during scan mode conversion, special operation mode "Conversion
restart" is entered into, so that scan operation is restarted according to the contents set by Scan
Mode Register 0 and Scan Mode Register 1.
If this bit is set to 1 again during single mode A-D conversion, special operation mode "Scan
mode start after single mode execution" is entered into, so that scan mode operation is started
subsequently after single mode is completed.
11.2 A-D Converter Related Registers
11-29
A-D CONVERTERS
Ver.0.10

Advertisement

Table of Contents
loading

Table of Contents