Datasheet
Section 23 A/D Converter
Rev. 2.00 Aug. 20, 2008 Page 899 of 1198
REJ09B0403-0200
23.3.3 A/D Control Register (ADCR)
The ADCR sets the operation mode of A/D converter and the conversion time.
Bit Bit Name
Initial
Value
R/W Description
7
6
0
TRGS1
TRGS0
EXTRGS
0
0
0
R/W
R/W
R/W
Timer Trigger Select 1 and 0, Extended Trigger Select
Enable starting of A/D conversion by a trigger signal.
00 0: Disables starting by trigger signals.
10 0: Enables starting by a trigger from TMR_0.
10 1: Enables starting by the ADTRG pin input.
Other than above: Setting prohibited
5
4
SCANE
SCANS
0
0
R/W
R/W
Scan Mode
Select the operation mode of A/D conversion
0x: Single mode
10: Scan mode
(consecutive A/D conversion of channels 1 to 4)
11: Scan mode
(consecutive A/D conversion of channels 1 to 8)
3
2
CKS1
CKS0
0
0
R/W
R/W
Clock Select 1 and 0
Set the A/D conversion time. Setting should be made
while the conversion is stopped (ADST = 0).
00: Setting prohibited
01: Conversion time = 80 states (max) (20 MHz or less)
10: Conversion time = 160 states (max)
11: Conversion time = 320 states (max)
1 ADSTCLR 0 R/W A/D Start Clear
Sets automatic clearing of the ADST bit in scan mode.
0: Disables automatic clearing of ADST in scan mode.
1: ADST is automatically cleared when A/D conversion for
all the selected channels has been completed in scan
mode.
[Legend]
x: Don't care










