TC1796
Peripheral Units (Vol. 2 of 2)
Analog-to-Digital Converter (ADC)
User’s Manual
25-60
V2.0, 2007-07
ADC, V2.0
25.2.2
Channel Registers
CHCONm (m = 0-15)
Channel Control Register m
(010
H
+m*4)
Reset Value: 0000 0000
H
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
0
SYM
0
INP
EN
CH
LCC
BSELA
BSELB
r
rw
r
rw
rw
rw
rw
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
GRP
S
EMUX
RES
REF
STC
r
rw
rw
rw
rw
rw
Field
Bits
Type Description
STC
[7:0]
rw
Sample Time Control
STC determines the duration of the sample phase for
channel n. Any modification of this bit field is taken into
account after the currently running conversion is finished.
REF
[9:8]
rw
Analog Reference Voltage Control
This bit determines the reference voltage for channel n.
00
B
V
AREF
[0] is selected as reference voltage
01
B
V
AREF
[1] is selected as reference voltage
10
B
V
AREF
[2] is selected as reference voltage
11
B
V
AREF
[3] is selected as reference voltage
for TC1796 specific implementation.
RES
[11:10] rw
Conversion Resolution Control
RES determines the resolution of the A/D Converter for
the conversion of channel n. Any modification of this bit
field is taken into account after the currently running
conversion is finished.
00
B
10-bit resolution selected
01
B
12-bit resolution selected
10
B
8-bit resolution selected
11
B
Reserved
EMUX
[13:12] rw
External Multiplexer Control
EMUX drives the external multiplexer control lines.
EMUX[0] is assigned to EMUX0 output. EMUX[1] is
assigned to EMUX1 output.