A-D CONVERTER
12.11 Repeat sweep mode 1
12.11 Repeat sweep mode 1
In the repeat sweep mode 1, the A-D conversions for input voltages from multiple selected analog input pins
AN (j = 0 to 7) are performed repeatedly. In this mode, analog input pins AN are divided into two groups:
j
j
frequently-used pins and non-frequently-used pins. Then, the operation for all of the frequently-used pins is
performed. Next, the operation for one of the non-frequently-used pins is performed. Figure 12.11.1 shows
the operation sequence in the repeat sweep mode 1. As shown in Figure 12.11.1, the non-frequently-used
pin changes sequentially.
In this mode, no A-D conversion interrupt request occurs. Additionally, the A-D conversion start bit (bit 6 at
address 1E16) remains set to “1” until it is cleared to “0” by software, and the A-D converter repeats its
operation while the A-D conversion start bit = “1.”
This mode can be used with analog input pins AN (j = 0 to 7).
j
12.11.1 Settings for repeat sweep mode 0
Figures 12.11.2 and 12.10.3 show initial setting examples for related registers in the repeat sweep mode
1. Be sure to select the frequently-used analog input pins by the A-D sweep pin select bits (bits 1 and 0
at address 1F16). All pins that are not selected by the A-D sweep pin select bits become the non-frequently-
used pins.
7905 Group User’s Manual Rev.1.0
12-35