Chapter 15 A/D Converter
XV - 6
Control Registers
A/D Converter Control Register 1 (ANCTR1)
A/D Converter Control Register 2 (ANCTR2)
Figure 15-2-2 A/D Converter Control Register 1 (ANCTR1 : x'03FB1', R/W)
Figure 15-2-3 A/D Converter Control Register 2 (ANCTR2 : x'03FB2', R/W)
0
1
0
0
1
1
0
1
0
1
0
1
0
1
Analog Input Channel
01245673
ANCTR1
ANCHS0ANCHS1ANCHS2
RESERVED
--
ANCHS1 ANCHS0ANCHS2
--
AN0 (PA0)
AN1 (PA1)
AN2 (PA2)
AN3 (PA3)
AN4 (PA4)
AN5 (PA5)
AN6 (PA6)
Reserved
(At reset : - - - - 0 0 0 0)
RESERVED
Set always "0".
01245673
ANCTR2
---
-
ANSTSEL
--
ANSTSEL
ANST
0
1
A/D conversion activation
factor selection
Set the ANST flag to "1".
Set the ANST flag, or the
external interrupt 3 to "1".
ANST
0
1
A/D conversion status
A/D conversion is
completed, stopped
A/D conversion is
started, in progress
(At reset : 0 0 - - - - - - )