CHAPTER 13 A/D CONVERTER
663
User’s Manual U14492EJ3V0UD
13.6 Operation in A/D Trigger Mode
Setting the ADCE0 or ADCE1 bit of the ADSCM00 or ADSCM10 register to 1 starts A/D conversion.
13.6.1 Operation in select mode
One analog input specified in the ADSCM00 or ADSCM10 register is A/D converted at a time and the result is
stored in an ADCR0n or ADCR1n register. Analog inputs correspond one-to-one with ADCR0n or ADCR1n registers
(n = 0 to 7).
An A/D conversion termination interrupt (INTAD0, INTAD1) is generated for each A/D conversion termination,
which terminates A/D conversion (ADCS0 or ADCS1 bit = 0).
Analog Input
A/D Conversion Result Register
ANIx
ADCRx
Remark
x = 00 to 07, 10 to 17
To restart A/D conversion, write 1 in the ADCE0 or ADCE1 bit of the ADSCM00 or ADSCM10 register.
This is optimal for an application that reads a result for each A/D conversion.
Figure 13-6. Example of Select Mode (A/D Trigger Select) Operation (ANI02): For A/D Converter 0
ANI00
ANI01
ANI02
ANI03
ANI04
ANI05
ANI06
ANI07
ADCR00
ADCR01
ADCR02
ADCR03
ADCR04
ADCR05
ADCR06
ADCR07
A/D converter 0
ADSCM00
(1) ADCE0 bit of ADSCM00 = 1 (Enabled)
(2) A/D conversion of ANI02
(3) Store conversion result in ADCR02
(4) Generate INTAD0 interrupt
Содержание V850E/IA1 mPD703116
Страница 2: ...2 User s Manual U14492EJ3V0UD MEMO...