Bit 3
Bit 2
CH3
CH2
0
0
0
1
0
1
0
1
0
1
1
0
1
0
1
0
1
0
1
1
12.2.3
A/D Start Register (ADSR)
Bit
ADSF
Initial value
Read/Write
R/W
The A/D start register (ADSR) is an 8-bit read/write register for starting and stopping A/D
conversion.
A/D conversion is started by writing 1 to the A/D start flag (ADSF) or by input of the designated
edge of the external trigger signal, which also sets ADSF to 1. When conversion is complete, the
converted data is set in ADRRH and ADRRL, and at the same time ADSF is cleared to 0.
Bit 7—A/D Start Flag (ADSF)
Bit 7 controls and indicates the start and end of A/D conversion.
Bit 7
ADSF
Description
0
Read: Indicates the completion of A/D conversion
Write: Stops A/D conversion
1
Read: Indicates A/D conversion in progress
Write: Starts A/D conversion
Rev. 6.00, 08/04, page 392 of 628
Bit 1
Bit 0
CH1
CH0
*
*
0
0
0
1
1
0
1
1
0
0
0
1
1
0
1
1
*
*
7
6
5
—
—
0
1
1
—
—
Analog Input Channel
No channel selected
AN
0
AN
1
AN
2
AN
3
AN
4
AN
5
AN
6
AN
7
Setting prohibited
4
3
—
—
1
1
—
—
(initial value)
*: Don't care
2
1
0
—
—
—
1
1
1
—
—
—
(initial value)