CHAPTER 11 A/D CONVERTER
531
User’s Manual U15195EJ5V0UD
(2) Operation modes
The two operation modes, which are the modes that set the ANI00 to ANI05 and ANI10 to ANI17 pins, are
select mode and scan mode. These modes are set using the ADSCM00 and ADSCM10 registers.
(a) Select mode
In select mode, one analog input specified by the ADSCM00 or ADSCM10 register is A/D converted.
The conversion result is stored in the ADCR0m or ADCR1n register corresponding to the analog input
(ANI0m or ANI1n) (m = 0 to 5, n = 0 to 7).
Figure 11-4. Example of Select Mode Operation Timing (ANI01): For A/D Converter 0
ANI01 (input)
A/D conversion
Data 1
(ANI01)
Data 2
(ANI01)
Data 3
(ANI01)
Data 4
(ANI01)
Data 5
(ANI01)
Data 6
(ANI01)
Data 7
(ANI01)
Data 1
Data 2
Data 3
Data 4
Data 5
Data 6
Data 7
Data 1
(ANI01)
Data 2
(ANI01)
Data 3
(ANI01)
Data 4
(ANI01)
Data 6
(ANI01)
ADCR01 register
INTAD0 interrupt
Conversion start
(ADSCM0
register setting)
ADCE0
bit set
ADCE0
bit set
ADCE0
bit set
ADCE0
bit set
ADCE0
bit set
Conversion start
(ADSCM0
register setting)
ANI00
ANI01
ANI02
ANI03
ANI04
ANI05
ADCR00
ADCR01
ADCR02
ADCR03
ADCR04
ADCR05
A/D converter 0
ADCR0m register
Analog input
Содержание PD703114
Страница 2: ...2 User s Manual U15195EJ5V0UD MEMO ...