English
Language : 

M16C62P_06 Datasheet, PDF (259/421 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/60 SERIES
M16C/62P Group (M16C/62P, M16C/62PT)
18. A/D Converter
18.1.4 Repeat Sweep Mode 0
In repeat sweep mode 0, analog voltage applied to selected pins is repeatedly converted to a digital code.
Table 18.5 shows the Repeat Sweep Mode 0 Specifications. Figure 18.8 shows the ADCON0 Register and
ADCON1 Registers (Repeat Sweep Mode 0).
Table 18.5 Repeat Sweep Mode 0 Specifications
Item
Function
A/D Conversion Start
Condition
A/D Conversion Stop
Condition
Interrupt Request
Generation timing
Analog Input Pin
Reading of Result of A/D
Converter
Specification
The SCAN1 to SCAN0 bits in the ADCON1 register and the ADGSEL1 to
ADGSEL0 bits in the ADCON2 register select pins. Analog voltage applied to
the pins is repeatedly converted to a digital code.
• When the TRG bit in the ADCON0 register is “0” (software trigger)
The ADST bit in the ADCON0 register is set to “1” (A/D conversion starts)
• When the TRG bit is “1” (ADTRG trigger)
Input on the ADTRG pin changes state from high to low after the ADST bit is
set to “1” (A/D conversion starts)
Set the ADST bit to “0” (A/D conversion halted)
None generated
Select from AN0 to AN1 (2 pins), AN0 to AN3 (4 pins), AN0 to AN5 (6 pins),
AN0 to AN7 (8 pin) (1)
Read one of the AD0 to AD7 registers that corresponds to the selected pin
NOTES:
1. AN0_0 to AN0_7, and AN2_0 to AN2_7 can be used in the same way as AN0 to AN7. However, if
VCC2 < VCC1, do not use AN0_0 to AN0_7 and AN2_0 to AN2_7 as analog input pins.
Rev.2.41 Jan 10, 2006 Page 244 of 390
REJ09B0185-0241