English
Language : 

Z8F0830HH020SG Datasheet, PDF (231/257 Pages) Zilog, Inc. – High-Performance 8-Bit Microcontrollers
Z8 Encore!® F0830 Series
Product Specification
213
Analog-to-Digital Converter
For more information about these ADC registers, see the ADC Control Register Defini-
tions section on page 101.
Hex Address: F70
Table 146. ADC Control Register 0 (ADCCTL0)
Bit
Field
RESET
R/W
Address
7
START
0
R/W1
6
Reserved
0
R/W
5
REFEN
0
R/W
4
3
ADCEN Reserved
0
0
R/W
R/W
F70h
2
1
0
ANAIN[2:0]
0
0
0
R/W
R/W
R/W
Bit
[7]
START
[6]
[5]
REFEN
[4]
ADCEN
[3]
[2:0]
ANAIN
Description
ADC Start/Busy
0 = Writing to 0 has no effect; reading a 0 indicates that the ADC is available to begin a conver-
sion.
1 = Writing to 1 starts a conversion; reading a 1 indicates that a conversion is currently in prog-
ress.
This bit is reserved and must be programmed to 0.
Reference Enable
0 = Internal reference voltage is disabled allowing an external reference voltage to be used by
the ADC.
1 = Internal reference voltage for the ADC is enabled. The internal reference voltage can be
measured on the VREF pin.
ADC Enable
0 = ADC is disabled for low power operation.
1 = ADC is enabled for normal use.
This bit is reserved and must be programmed to 0.
Analog Input Select
000 = ANA0 input is selected for analog to digital conversion.
001 = ANA1 input is selected for analog to digital conversion.
010 = ANA2 input is selected for analog to digital conversion.
011 = ANA3 input is selected for analog to digital conversion.
100 = ANA4 input is selected for analog to digital conversion.
101 = ANA5 input is selected for analog to digital conversion.
110 = ANA6 input is selected for analog to digital conversion.
111 = ANA7 input is selected for analog to digital conversion.
PS025113-1212
Analog-to-Digital Converter