
11
A/D CONVERTER
11-9
32185/32186 Group Hardware Manual
Rev.1.10 REJ09B0235-0110 May 15, 07
11.1.3 Special Operation Modes
(1) Forcible single mode execution during scan mode
In this special operation mode, single mode conversion (A/D conversion or comparate) is forcibly
executed on a specified channel during scan mode operation. For A/D conversion mode, the conver-
sion result is stored in the 10-bit A/D Data Register corresponding to the specified channel, whereas
for comparate mode, the comparison result is stored in the A/D Comparate Data Register. When the
A/D conversion or comparate operation on a specified channel finishes, scan mode A/D conversion is
restarted from where it was canceled during scan operation.
To start single mode conversion during scan mode operation in software, choose a software trigger
using the Single Mode Register 0 A/D conversion start trigger select bit. Then, for A/D conversion, set
the said register’s A/D conversion start bit to "1." For comparate mode, write a comparison value to
the A/D Successive Approximation Register (AD0SAR) during scan mode operation.
To start single mode conversion during scan mode operation in hardware, choose a hardware trigger
using the Single Mode Register 0 A/D conversion start trigger select bit. Then enter the hardware
trigger selected with the said register.
An A/D conversion interrupt or DMA transfer request can be generated when conversion on a speci-
fied channel or one cycle of scan operation is completed.
Figure 11.1.5 Forcible Single Mode Execution during Scan Mode
A/D conversion interrupt or DMA transfer request
ADiIN0
ADiDT0
10-bit A/Di Data Register
Scan mode
conversion starts
ADiIN1
ADiDT1
ADiDT5
Note 1: The canceled convert operation on channel 2 is reexecuted from the beginning.
<To perform single mode conversion on channel ADiIN5
during ADiIN2 conversion in n-channel single-shot scan mode>
Completed
ADiIN2
ADiINn
ADiDT2
ADiDTn
ADiIN5
Forcible single mode
execution starts
(Note 1)
ADiIN2
i=0
n=0–15
11.1 Outline of A/D Converter