UPD784026 Renesas Electronics Corporation., UPD784026 Datasheet - Page 425

no-image

UPD784026

Manufacturer Part Number
UPD784026
Description
16/8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
14.3.3 Scan Mode
result by the CPU into consideration can be performed. In scan mode 1, no delay control is performed but the A/D conversion
interval is fixed.
(1) Scan mode 0 (bit 5 (SCMD) of A/D converter mode register (ADM) = 0)
Two scan modes, 1 and 0, are available. In scan mode 0, delay control that takes delay in reading the A/D conversion
Generally, use of scan mode 1 is recommended.
Input from the analog input pins specified by bits 1 to 3 (ANIS0 to ANIS2) of the ADM is selected and converted in
order.
For example, if ANIS2 to ANIS0 of the ADM = 001, ANI0 and ANI1 will be scanned repeatedly (ANI0
in the A/D conversion result register (ADCR) and an A/D conversion end interrupt request (INTAD) is generated.
(a) TRG bit
(b) TRG bit
ANI1
A/D Conversion
...). In the scan mode, at the end of the conversion operation for each input the conversion value is stored
A/D Conversion
(
(
CS
MS
ANIS2-ANIS0
CS
MS
ANIS2-ANIS0
INTAD
ADCR
INTAD
INTP5
ADCR
0
1
1
1
0
1
Conversion Start
Initialization
Conversion Start
001
010
ANI0
ANI0
Figure 14-7 Scan Mode 0 Operation Timing
(
(
Conversion End Conversion End Conversion End Conversion End Conversion End Conversion End
Conversion End Conversion End
CHAPTER 14 A/D CONVERTER
ANI1
ANI1
ANI0
ANI0
Initialization Initialization
ANI2
ANI0
ANI1
ANI0
ANI1
ANI1
ANI0
ANI0
Conversion End
ANI0
ANI1
ANI1
Initialization
ANI0
ANI1
ANI0
ANI0
Conversion End
ANI1
ANI0
385

Related parts for UPD784026