314
User’s Manual U11969EJ3V0UM00
CHAPTER 9 A/D CONVERTER
9.6.2 Scan mode operation
The analog inputs from ANI0/ANI8 to the analog input specified with the ADM0 register are selected sequentially,
and A/D conversion is executed the number of times specified using the coincidence interrupt as trigger.
The conversion results are stored in the ADCRn register corresponding to the analog input (refer to Table 9-6,
Figure 9-11). When the conversion of all the specified analog inputs has been 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
operations end, A/D conversion is restarted.
When TM0 is set to the one-shot mode, and less than the specified number of coincidence interrupts are generated
the INTAD interrupt is not generated and the standby state is set if the CE bit is set to 1.
This mode is suitable for applications which always monitor two or more analog inputs.
Table 9-6. Correspondence between Analog Input Pin and ADCRn Register
(scan mode (timer trigger scan))
Trigger
Analog Input
A/D Conversion
Results Register
INTCC03 interrupt
ANI0/ANI8
ADCR0
INTCC03 interrupt
ANI1/ANI9
ADCR1
INTCC03 interrupt
ANI2/ANI10
ADCR2
INTCC03 interrupt
ANI3/ANI11
ADCR3
INTCC03 interrupt
ANI4/ANI12
ADCR4
INTCC03 interrupt
ANI5/ANI13
ADCR5
INTCC03 interrupt
ANI6/ANI14
ADCR6
INTCC03 interrupt
ANI7/ANI15
ADCR7
Figure 9-11. Example of Scan Mode (timer trigger scan) Operation
ANI0
ANI1
ANI2
ANI3
ANI4
ANI5
ANI6
ANI7
ANI8
ANI9
ANI10
ANI11
ANI12
ANI13
ANI14
ANI15
ADCR0
ADCR1
ADCR2
ADCR3
ADCR4
ADCR5
ADCR6
ADCR7
A/D Converter
INTCC03
Summary of Contents for V854 UPD703006
Page 2: ...2 User s Manual U11969EJ3V0UM00 MEMO ...
Page 22: ...22 User s Manual U11969EJ3V0UM00 MEMO ...
Page 80: ...80 User s Manual U11969EJ3V0UM00 MEMO ...
Page 134: ...134 User s Manual U11969EJ3V0UM00 MEMO ...
Page 156: ...156 User s Manual U11969EJ3V0UM00 MEMO ...
Page 294: ...294 User s Manual U11969EJ3V0UM00 MEMO ...
Page 320: ...320 User s Manual U11969EJ3V0UM00 MEMO ...
Page 324: ...324 User s Manual U11969EJ3V0UM00 MEMO ...
Page 336: ...336 User s Manual U11969EJ3V0UM00 MEMO ...
Page 376: ...376 User s Manual U11969EJ3V0UM00 MEMO ...
Page 382: ...382 User s Manual U11969EJ3V0UM00 MEMO ...
Page 394: ...394 User s Manual U11969EJ3V0UM00 MEMO ...