![Renesas R8C series Hardware Manual Download Page 184](http://html1.mh-extra.com/html/renesas/r8c-series/r8c-series_hardware-manual_1440345184.webp)
R8C/18 Group, R8C/19 Group
16. Comparator
Rev.1.30
Apr 14, 2006
Page 169 of 233
REJ09B0222-0130
16.2
Repeat Mode
In repeat mode, the input voltage on one selected pin is comparator converted repeatedly. Table 16.3
lists the Repeat Mode Specifications. Figure 16.5 shows Registers ADCON0 and ADCON1 in Repeat
Mode.
Table 16.3
Repeat Mode Specifications
Item
Specification
Function
The Input voltage on one pin selected by bits CH2 to CH0, and the
ADGSEL0 bit is comparator converted repeatedly
Start conditions
• When the ADCAP bit is set to 0 (software trigger),
set the ADST bit to 1 (comparator conversion starts).
• When the ADCAP bit is set to 1 (capture),
a timer Z interrupt request is generated while the ADST bit is set to 1.
Stop condition
Set the ADST bit to 0.
Interrupt request generation
timing
Not generated
Input pin
Selects one of AN8 to AN11.
Reading of result of
comparator conversion
Read AD register.