Specifications

140
3706C–MICRO–2/11
AT89LP3240/6440
Table 20-5. DADI – DADC Input Control Register
DADI = DAH Reset Value = 0000 0000B
Not Bit Addressable
ACON IREF
TRG1 TRG0 DIFF ACS2ACS1ACS0
Bit76543210
Symbol Function
ACON Analog Input Connect. When cleared, the analog inputs are disconnected from the ADC. When set, the analog inputs
selected by ACS
2-0
are connected to the ADC. ACON must be zero when changing the input channel multiplexor (ACS
2-
0
).
IREF Internal Reference Enable. When set, the DADC uses the internal voltage reference. When cleared the DADC uses VDD
for its reference.
DIFF Differential Mode Enable. Set to configure the ADC in differential mode. Clear to configure the ADC in single-ended
mode.
TRG[1-0] Trigger Select.
TRG1
TRG0 Trigger
00Software (GO bit)
0 1 Timer 0 Overflow
1 0 Timer 1 Overflow
1 1 Timer 2 Overflow
ACS [2-0] DADC Channel Select
DIFF
ACS2 ACS1 ACS0 V+ V-
0000P0.0VDD/2
0001P0.1VDD/2
0010P0.2VDD/2
0011P0.3VDD/2
0100P0.4VDD/2
0101P0.5VDD/2
0110P0.6VDD/2
0111P0.7VDD/2
1000P0.0P0.1
1001P0.2P0.3
1010P0.4P0.5
1011P0.6P0.7
1100reserved
1101reserved
1110reserved
1111reserved