R8C/1A Group, R8C/1B Group
17. A/D Converter
Rev.1.30
Dec 08, 2006
Page 236 of 315
REJ09B0252-0130
17.1
One-Shot Mode
In one-shot mode, the input voltage of one selected pin is A/D converted once. Table 17.2 lists the One-Shot Mode
Specifications. Figure 17.4 shows Registers ADCON0 and ADCON1 in One-shot Mode.
Table 17.2
One-Shot Mode Specifications
Item
Specification
Function
The input voltage of one pin selected by bits CH2 to CH0 is A/D converted
once.
Start conditions
• 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 (capture),
timer Z interrupt request is generated while the ADST bit is set to 1.
Stop conditions
• A/D conversion completes (when the ADCAP bit is set to 0 (software
trigger) 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 AN8 to AN11.
Reading of A/D conversion
result
Read AD register.