(2) The A/D converter converts the voltage level at the AN
transfers the result to register ADDRA.
(3) Next the A/D converter converts AN
AN
and transfers the result to ADDRC.
2
(4) After all selected channels (AN
bit to "1." If the ADIE bit is set to "1," an A/D interrupt (ADI) is requested. Then the A/D
converter begins converting AN
(5) Steps (2) to (4) are repeated cyclically as long as the ADST bit remains set to "1."
To stop the A/D converter, software must clear the ADST bit to "0."
Regardless of which channel is being converted when the ADST bit is cleared to "0," when the
ADST bit is set to "1" again, conversion begins from the the first selected channel (AN
and transfers the result to ADDRB. Then it converts
1
to AN
) have been converted, the AD converter sets the ADF
0
2
again.
0
220
input pin to a digital value, and
0
).
0