
R8C/36T-A Group
23. A/D Converter
Under development Preliminary document
Specifications in this document are tentative and subject to change.
R01UH0240EJ0010 Rev.0.10
Page 556 of 728
Aug 05, 2011
23.7
Single Sweep Mode
In single sweep mode, the input voltages to two, four, six, or eight pins selected from among AN0 to AN11 are A/D
converted once.
Note:
1. When executing single-sweep mode, set bits CH2 to CH0 in the ADINSEL register to 000b.
Table 23.9
Single Sweep Mode Specifications
Item
Specification
Function
The input voltages to the pins selected by bits ADGSEL0 and ADGSEL1 and bits
SCAN0 and SCAN1 in the ADINSEL register are A/D converted once.
Resolution
8 bits or 10 bits
A/D conversion start condition
Software trigger
Timer RC
Event input trigger from ELC
A/D conversion stop condition
If two pins are selected, when A/D conversion of the two selected pins
completes (the ADST bit in the ADCON0 register is set to 0).
If four pins are selected, when A/D conversion of the four selected pins
completes (the ADST bit is set to 0).
If six pins are selected, when A/D conversion of the six selected pins completes
(the ADST bit is set to 0).
If eight pins are selected, when A/D conversion of the eight selected pins
completes (the ADST bit is set to 0).
Set the ADST bit to 0.
Interrupt request generation
timing
If two pins are selected, when A/D conversion of the two selected pins
completes.
If four pins are selected, when A/D conversion of the four selected pins
completes.
If six pins are selected, when A/D conversion of the six selected pins completes.
If eight pins are selected, when A/D conversion of the eight selected pins
completes.
AN0 to AN1 (2 pins), AN8 to AN9 (2 pins),
AN0 to AN3 (4 pins), AN8 to AN11 (4 pins),
AN0 to AN5 (6 pins),
AN0 to AN7 (8 pins)
(Selectable by bits SCAN1 and SCAN0 and bits ADGSEL1 and ADGSEL0.)
Storage resister for A/D
conversion result
AD0 register: AN0, AN8
AD1 register: AN1, AN9
AD2 register: AN2, AN10
AD3 register: AN3, AN11
AD4 register: AN4
AD5 register: AN5
AD6 register: AN6
AD7 register: AN7
Reading of result of A/D
converter
Read the registers from AD0 to AD7 corresponding to the selected pin.