16.3.3
A/D Control Register (ADCR)
ADCR enables A/D conversion start by an external trigger input.
It also sets the A/D converter operating mode and the A/D conversion time.
Bit
Bit Name
7
TRGS1
6
TRGS0
5
SCANE
4
SCANS
3
CKS1
2
CKS0
1
—
0
—
Legend: X: Don't care.
Initial Value
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
—
0
—
Description
Timer Trigger Select 1 and 0
These bits select enabling or disabling of the start
of A/D conversion by a trigger signal.
00: A/D conversion start by external trigger is
disabled
01: A/D conversion start by external trigger (TPU)
is enabled
10: A/D conversion start by external trigger (TMR)
is enabled
11: A/D conversion start by external trigger pin
(ADTRG) is enabled
Scan Mode
Selects single mode or scan mode as the A/D
conversion operating mode.
0x: Single mode
10: Scan mode. A/D conversion is performed
continuously for channels 1 to 4
11: Scan mode. A/D conversion is performed
continuously for channels 1 to 8.
Clock Select 1 to 0
Sets the A/D conversion time.
Only set bits CKS1 and CKS0 while conversion is
stopped (ADST = 0).
00: A/D conversion time = 530 states (max)
01: A/D conversion time = 266 states (max)
10: A/D conversion time = 134 states (max)
11: A/D conversion time = 68 states (max)
Reserved
These bits are always read as 0 and cannot be
modified.
Rev. 2.00, 05/03, page 625 of 820