A-D CONVERTER
12.9 Single sweep mode
12.9.2 Single sweep mode 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.
In the 8-bit and 10-bit resolution modes, the conversion result is transferred to the corresponding
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
the comparison for one pin is completed.
i
pin comparator result bit each time
✕ When step ✕ is completed, the A-D conversion interrupt request bit is set to “1.”
✕ The A-D conversion start bit is cleared to “0,” and the A-D converter halts.
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.9.3 shows the operation in the single sweep mode.
Trigger generated
Conversion result
A-D register 0
Convert input voltage at pin AN0
Comparison result
or
Compare input voltage at pin AN0
AN0 pin comparator result bit
Conversion result
Comparison result
A-D register 1
AN1 pin comparator result bit
Convert input voltage at pin AN1
or
Compare input voltage at pin AN1
Conversion result
Comparison result
A-D register i
ANi pin comparator result bit
Convert input voltage at pin ANi
or
Compare input voltage at pin ANi
A-D converter interrupt request occurs.
A-D converter halts.
Fig. 12.9.3 Operation in single sweep mode
7906 Group User’s Manual Rev.2.0
12-27