English
Language : 

M16C6NK Datasheet, PDF (228/404 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/60 SERIES
Under development
This document is under development and its contents are subject to change.
M16C/6N Group (M16C/6NK, M16C/6NM)
16. A/D Converter
16.1.3 Single Sweep Mode
In single sweep mode, analog voltage that is applied to selected pins is converted one-by-one to a digital
code. Table 16.4 lists the specifications of single sweep mode. Figure 16.6 shows the ADCON0 and
ADCON1 registers in single sweep mode.
Table 16.4 Single Sweep Mode Specifications
Item
Specification
Function
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 this pins is converted one-by-one to a digital code.
A/D Conversion
• When the TRG bit in the ADCON0 register is “0” (software trigger)
Start Condition
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)
A/D Conversion
• Completion of A/D conversion (If a software trigger is selected, the ADST
Stop Condition
bit is set to “0” (A/D conversion halted).)
• Set the ADST bit to “0”
Interrupt Request
Completion of A/D conversion
Generation Timing
Analog Input Pin
Select from AN0 to AN1 (2 pins), AN0 to AN3 (4 pins), AN0 to AN5 (6 pins),
AN0 to AN7 (8 pins) (1)
Reading of Result of
Read one of the AD0 to AD7 registers that corresponds to the selected pin
A/D Converter
NOTE:
1. AN0_0 to AN0_7, and AN2_0 to AN2_7 can be used in the same way as AN0 to AN7.
Rev.2.00 Nov 28, 2005 page 210 of 378
REJ09B0124-0200