A-D CONVERTER
12.10 Repeat sweep mode 0
12.10.2 Repeat sweep mode 0 operation
✕ The A-D converter starts its operation for the input voltage at pin AN
bit is set to “1.”
0
when the A-D conversion start
✕ The A-D conversion for the input voltage at pin AN is completed after 49 cycles of φAD in the 8-
0
bit resolution mode, or 59 cycles of φAD in the 10-bit resolution mode. Then, the contents of the
successive approximation register (conversion result) are transferred to the A-D register 0.
When the comparator function is selected, the comparison for pin AN
0
is completed after 14 cycles
of φAD. Then, the result of the comparison is stored into the AN pin comparator result bit.
0
✕ The operations for all selected analog input pins are performed.
The conversion result is transferred to the corresponding A-D register j each time when the A-D
conversion per one pin is completed. When the comparator function is selected, the comparison
result is stored into the AN
completed.
j
pin comparator result bit each time the comparison for one pin is
✕ The operations for all selected analog input pins are performed again.
✕ The A-D converter repeats its operation until the A-D conversion start bit is cleared to “0” by
software.
Figure 12.10.3 shows the operation in the repeat sweep mode 0.
Trigger generated
Conversion result
A-D register 0
Convert input voltage at pin AN
0
Comparison result
or
Compare input voltage at pin AN
0
AN0 pin comparator result bit
Conversion result
Comparison result
A-D register 1
AN pin comparator result bit
Convert input voltage at pin AN
1
or
Compare input voltage at pin AN
1
1
Conversion result
Comparison result
A-D register j
AN pin comparator result bit
Convert input voltage at pin AN
j
or
j
Compare input voltage at pin AN
j
Fig. 12.10.3 Operation in repeat sweep mode 0
7905 Group User’s Manual Rev.1.0
12-34