
CHAPTER 9 A/D CONVERTER
201
Figure 9-11. 4-Trigger Mode (Timer Trigger Select 4-Buffer 4-Trigger) Operation
9.6.2 Scan mode operations
Selects the analog inputs specified by the ADM0 register sequentially from the ANI0 pin and A/D converts them
for the specified number of times using the coincidence interrupt signal as a trigger.
In the conversion operation, first the analog input lower channels (ANI0 to ANI3) are A/D converted for the specified
number of times. In the ADM0 register, if the lower channels (ANI0 to ANI3) of the analog input are set so that they
are scanned, and when the set number of A/D conversions ends, the INTAD interrupt is generated and A/D conversion
ends.
When the higher channels (ANI4 to ANI7) of the analog input are set so that they are scanned in the ADM0 register,
after the conversion of the lower channel is ended, the mode is shifted to the A/D trigger mode, and the remaining
A/D conversions are executed.
The conversion results are stored in the ADCRn register corresponding to the analog input. When the conversion
of all the specified analog inputs has been ended, the INTAD interrupt is generated and A/D conversion is ended.
There are two scan modes, 1-trigger mode and 4-trigger mode, according to the number of triggers.
This mode is suitable for applications which always monitor two or more analog inputs.
(1) 1-trigger mode (Timer trigger scan: 1-trigger)
A/D converts analog input for the specified number of times using the coincidence interrupt signal (INTCC110)
as a trigger.
The analog input and ADCRn register correspond one to one.
When all the A/D conversions specified have ended, the INTAD interrupt is generated and A/D conversion
is ended. When the coincidence interrupt is generated after all the specified A/D conversion end, A/D
conversion is restarted.
When the TM11 is set to the one-shot mode, and less than a specified number of coincidence interrupts are
generated, if the CE bit is set to 1, the INTAD interrupt is not generated and the standby state is set.
ANI0
ANI1
ANI2
ANI3
ANI4
ANI5
ANI6
ANI7
ADCR0
ADCR1
ADCR2
ADCR3
ADCR4
ADCR5
ADCR6
ADCR7
A/D Converter
INTCC110
INTCC111
INTCC112
INTCC113
No particular
order
(
×
4)
(
×
4)
No particular
order