NEC UPD703116 User Manual page 658

32-bit single-chip microcontrollers
Table of Contents

Advertisement

(2) Operation modes
The two operation modes, which are the modes that set the ANI00 to ANI07 and ANI10 to ANI17 pins, are
select mode and scan mode. These modes are set using the ADSCM00 and ADSCM10 registers.
(a) Select mode
Select mode A/D converts one analog input specified in the ADSCM00 or ADSCM10 register. It stores
the conversion result in the ADCR0n or ADCR1n register corresponding to the analog input (ANI1n or
ANI0n) (n = 0 to 7).
Figure 13-4. Example of Select Mode Operation Timing (ANI01): For A/D Converter 0
ANI01 (input)
A/D conversion
ADCR01 register
INTAD0 interrupt
Conversion start
register setting)
Analog input
ANI00
ANI01
ANI02
ANI03
ANI04
ANI05
ANI06
ANI07
658
CHAPTER 13 A/D CONVERTER
Data 1
Data 2
Data 1
Data 2
(ANI01)
(ANI01)
Data 1
Data 2
(ANI01)
(ANI01)
ADCE0
ADCE0
(ADSCM0
bit set
bit set
AD converter 0
User's Manual U14492EJ5V0UD
Data 4
Data 5
Data 3
Data 3
Data 4
Data 5
(ANI01)
(ANI01)
(ANI01)
(ANI01)
Data 3
Data 4
(ANI01)
(ANI01)
Conversion start
ADCE0
ADCE0
(ADSCM0
bit set
bit set
register setting)
ADCR0n register
ADCR00
ADCR01
ADCR02
ADCR03
ADCR04
ADCR05
ADCR06
ADCR07
Data 6
Data 7
Data 6
Data 7
(ANI01)
Data 6
(ANI01)
ADCE0
bit set

Advertisement

Table of Contents
loading

Table of Contents