11
11-11
Ver.0.10
11.1.3 Special Operation Modes
(1) Forcible single mode execution during scan mode
This special operation mode forcibly executes single mode conversion (A-D conversion or
comparate) in a specified channel during scan mode operation. For A-D conversion mode, the
conversion result is stored in the 10-bit A-D Data Register corresponding to the specified
channel. For comparate mode, the conversion result is stored in the 10-bit A-D Comparate Data
Register. When the A-D conversion or comparate operation in the specified channel is
completed, 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, or for comparate mode, write a
comparison value to the A-D Successive Approximation Register (AD0SAR or AD1SAR) 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 (ADTRG signal or output event bus 3 for the A-D0
converter, or ADTRG signal or TID1 overflow/underflow for the A-D1 converter).
An A-D conversion interrupt request or a DMA transfer request (for the A-D0 converter only) can
be generated at completion of conversion in the specified channel, or at completion of one cycle
of scan operation.
Figure 11.1.7 Forcible Single Mode Execution during Scan Mode
Note 1: The canceled convert operation in channel 2 is reexecuted from the beginning.
Note 2: DMA transfer request: Can be generated for only the A-D0 converter.
A-D CONVERTERS
11.1 Outline of A-D Converters
AA
ADiDT1
AA
A-D conversion interrupt request or DMA transfer request (Note 2)
ADiIN0
ADiDT0
10-bit A-Di data register
Scan mode
conversion starts
ADiIN1
ADiDT5
<To perform single mode conversion on ADiIN5 during ADiIN2 conversion in 4-channel single-shot scan mode>
Completed
ADiIN2
ADiIN3
ADiDT2
ADiDT3
ADiIN5
Forcible single
mode execution starts
(Note 1)
ADiIN2
i=0,1