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 correponding A-D register i 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.
i
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 repeates its operation until the A-D conversion start bit is cleared to “0” by
software.
Note that the operation time for pins AN
pin select bits (bits 1, 0 at address 1F16) = “10
0
to AN
4
2
is equivalent to the time for 6 pins when the A-D sweep
.”
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 i
AN pin comparator result bit
Convert input voltage at pin AN
i
or
i
Compare input voltage at pin AN
i
Fig. 12.10.3 Operation in repeat sweep mode 0
7906 Group User’s Manual Rev.2.0
12-30