CHAPTER 12 A/D CONVERTER
430
User’s Manual U14359EJ4V0UM
Figure 12-14. Example of 4-Trigger Mode Operation (Timer Trigger Scan: 4 Triggers)
(a) Setting when scanning ANI0 to ANI3
ANI0
ANI1
ANI2
ANI3
ANI4
ANI5
ANI6
ANI7
ADCR0
ADCR1
ADCR2
ADCR3
ADCR4
ADCR5
ADCR6
ADCR7
A/D converter
INTM000
random
INTM001
INTM010
INTM011
(1)
The ADCE bit of ADM0 is set to 1 (enable)
(8)
The CCC00 compare is generated (random)
(2)
The CCC01 compare is generated (random)
(9)
ANI0 is A/D converted
(3)
ANI1 is A/D converted
(10) The conversion result is stored in ADCR0
(4)
The conversion result is stored in ADCR1
(11) The CCC10 compare is generated (random)
(5)
The CCC11 compare is generated (random)
(12) ANI2 is A/D converted
(6)
ANI3 is A/D converted
(13) The conversion result is stored in ADCR2
(7)
The conversion result is stored in ADCR3
(14) The INTAD interrupt is generated
Caution
INTM0nn cannot be used as a trigger for the analog inputs enclosed in the broken lines
TM0nn (n = 0, 1). When a setting is made to scan ANI0 to ANI7, ANI4 to ANI7 are
converted in A/D trigger mode (see (b) below).
(b) Setting when scanning ANI0 to ANI7
ANI0
ANI1
ANI2
ANI3
ANI4
ANI5
ANI6
ANI7
ADCR0
ADCR1
ADCR2
ADCR3
ADCR4
ADCR5
ADCR6
ADCR7
A/D converter
INTM000
INTM001
INTM010
INTM011
random
(1) to (13)
Same as (a)
(18) ANI6 is A/D converted
(14) ANI4 is A/D converted
(19) The conversion result is stored in ADCR6
(15) The conversion result is stored in ADCR4
(20) ANI7 is A/D converted
(16) ANI5 is A/D converted
(21) The conversion result is stored in ADCR7
(17) The conversion result is stored in ADCR5
(22) The INTAD interrupt is generated