Chapter 6 A/D Conversion Functions
118
A/D Converter Control Registers
6-3-2 A/D Control Register (ANCTR)
This readable and writable 8-bit register controls the operation of the A/D
converter.
(1) A/D control register 0 (ANCTR0)
∗1:Specify that where the period of the A/D conversion clock
is greater than 800ns.
∗2:Sample-and-hold time is determined by the analog input
impedance. T
AD indicates the period of the A/D conversion
clock.
Figure 6-3-1 A/D Control Register 0 (ANCTR0: X'03F90', R/W)
0
1
0
1
0
1
A/D conversion
clock selection∗1
0
0
1
0
0
1
1
Analog input selection
01245673
ANCTR0
ANCHS0ANCHS1ANCHS2
ANCHS0ANCHS1ANCHS2
ANLADE
ANLADE
ANCK0
ANCK1
ANCK0ANCK1
ANSH1 ANSH0
ANSH0ANSH1
AN0
AN1
AN2
AN3
AN4
AN5
AN6
AN7
0
1
1
0
0
1
1
0
1
A/D ladder resistor control
A/D ladder resistors off
A/D ladder resistors on
fs/2
fs/4
fs/8
Use prohibited
0
1
0
1
0
1
Sample and
hold time setting∗2
TAD × 2
T
AD × 6
T
AD × 18
Use prohibited
(at reset: XXXX0XXX)