English
Language : 

M16C30P_07 Datasheet, PDF (188/317 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/30 SERIES
M16C/30P Group
16. A/D Converter
16.1 Mode Description
16.1.1 One-Shot Mode
In one-shot mode, analog voltage applied to a selected pin is converted to a digital code once. Table 16.2 shows
the One-Shot Mode Specifications. Figures 16.4 and 16.5 shows the ADCON0 and ADCON1 registers in one-
shot mode.
Table 16.2 One-Shot Mode Specifications
Item
Specification
Function
The CH2 to CH0 bits in the ADCON0 register, the ADGSEL1 to ADGSEL0 bits
in the ADCON2 register and the OPA1 to OPA0 bits in the ADCON1 register
select a pin. Analog voltage applied to the pin is converted to a digital code
once.
A/D Conversion Start
Condition
• 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)
A/D Conversion Stop
Condition
• Completion of A/D conversion (If a software trigger is selected, the ADST bit
is cleared to “0” (A/D conversion halted))
• Set the ADST bit to “0”
Interrupt Request
Generation Timing
Completion of A/D conversion
Analog Input Pin
Select one pin from AN0 to AN7, AN0_0 to AN0_7, ANEX0 to ANEX1
Reading of Result of A/D Read one of the AD0 to AD7 registers that corresponds to the selected pin
Converter
Rev.1.22 Mar 29, 2007 Page 172 of 291
REJ09B0179-0122