English
Language : 

M16C65 Datasheet, PDF (701/829 Pages) Renesas Technology Corp – RENESAS MCU M16C FAMILY / M16C/60
Under development
M16C/65 Group
Preliminary Specification
This is a preliminary specification and is subject to change.
27. A/D Converter
27.4 Operational Modes
27.4.1 One-Shot Mode
In one-shot mode, the analog voltage applied to a selected pin is converted to a digital code once.
Table 27.8 shows One-Shot Mode Specifications.
Table 27.8 One-Shot Mode Specifications
Item
Function
A/D conversion start
conditions
A/D conversion stop
conditions
Interrupt request generation
timing
Analog input pin
Reading of A/D conversion
result
Specification
Bits CH2 to CH0 in the ADCON0 register and bits ADGSEL1 to ADGSEL0
in the ADCON2 register, or bits ADEX1 to ADEX0 in the ADCON1 register
are used to select a pin. The analog voltage applied to the pin is converted
to a digital code once.
• 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 level at the ADTRG pin changes from high to low after the ADST bit
is set to 1 (A/D conversion start).
• Completion of A/D conversion (if a software trigger is selected, the ADST
bit becomes 0 (A/D conversion stop)).
• Set the ADST bit to 0.
Completion of A/D conversion.
Select one pin from among AN0 to AN7, AN0_0 to AN0_7, AN2_0 to
AN2_7, ANEX0, and ANEX1.
Read the register among AD0 to AD7 that corresponds to the selected pin.
REJ09B0484-0030 Rev.0.30 Sep 09, 2008
Page 666 of 791