R8C/20 Group, R8C/21 Group 18. A/D Converter
Rev.2.00 Aug 27, 2008 Page 364 of 458
REJ09B0250-0200
18.1 One-Shot Mode
In one-shot mode, the input voltage on one selected pin is A/D converted once.
Table 18.2 lists the One-Shot Mode Specifications. Figure 18.4 shows the ADCON0 Register in One-Shot Mode
and Figure 18.5 shows the ADCON1 Register in One-Shot Mode.
Table 18.2 One-Shot Mode Specifications
Item Specification
Function The input voltage on one selected pin by bits CH2 to CH0 and ADGSEL0
is A/D converted once
Start Condition • When the ADCAP bit is set to 0 (software trigger),
Set the ADST bit to 1 (A/D conversion starts)
• When the ADCAP bit is set to 1 (starts in timer RD (complementary PWM
mode)),
The compare match in the TRD0 and TRDGRA0 registers or the TRD1
underflow is generated while the ADST bit is set to 1
Stop Condition • A/D conversion completes (When the ADCAP bit is set to 0 (software
trigger), the ADST bit is set to 0)
• Set the ADST bit to 0
Interrupt Request
Generation Timing
A/D conversion completes
Input Pin Select one of AN0 to AN11
Reading of A/D Conversion
Result
Read the AD register