參數(shù)資料
型號(hào): HMS81C2020AQ
廠商: Electronic Theatre Controls, Inc.
英文描述: CMOS Single-Chip 8-Bit Microcontroller with A/D Converter & VFD Driver
中文描述: CMOS單芯片8位微控制器與A / D轉(zhuǎn)換器
文件頁數(shù): 63/107頁
文件大?。?/td> 1482K
代理商: HMS81C2020AQ
HMS81C2012A/2020A
SEP. 2004 Ver 2.00
59
13. ANALOG DIGITAL CONVERTER
The analog-to-digital converter (A/D) allows conversion
of an analog input signal to a corresponding 8-bit digital
value. The A/D module has eight analog inputs, which are
multiplexed into one sample and hold. The output of the
sample and hold is the input into the converter, which gen-
erates the result via successive approximation. The analog
supply voltage is connected to AV
DD
of ladder resistance
of A/D module.
The A/D module has two registers which are the control
register ADCM and A/D result register ADR. The register
ADCM, shown in Figure 13-1, controls the operation of
the A/D converter module. The port pins can be configured
as analog inputs or digital I/O.
To use analog inputs, each port is assigned analog input
port by setting the bit ANSEL[7:0] in R6FUNC register.
Also it is assigned analog input port by setting the bit AN-
SEL[11:8] in R7FUNC register. And selected the corre-
sponding channel to be converted by setting ADS[3:0].
How to Use A/D Converter
The processing of conversion is start when the start bit
ADST is set to "1". After one cycle, it is cleared by hard-
ware. The register ADCR contains the results of the A/D
conversion. When the conversion is completed, the result
is loaded into the ADCR, the A/D conversion status bit
ADSF is set to "1", and the A/D interrupt flag ADIF is set.
The block diagram of the A/D module is shown in Figure
13-2. The A/D status bit ADSF is set automatically when
A/D conversion is completed, cleared when A/D conver-
sion is in process. The conversion time takes maximum 20
uS (at f
XI
=4 MHz)
Figure 13-1 A/D Converter Control Register
BTCL
7
-
6
5
4
3
2
1
0
ADST
A/D status bit
0: A/D conversion is in progress
1: A/D conversion is completed
Analog input channel select
0000: Channel 0 (AN0)
0001: Channel 1 (AN1)
0010: Channel 2 (AN2)
0011: Channel 3 (AN3)
0100: Channel 4 (AN4)
0101: Channel 5 (AN5)
0110: Channel 6 (AN6)
0111: Channel 7 (AN7)
1000: Channel 8 (AN8)
1001: Channel 9 (AN9)
1010: Channel 10 (AN10)
1011: Channel 11 (AN11)
INITIAL VALUE: -000 0001
B
ADDRESS: 0EA
H
ADCM
ADSF
A/D converter Enable bit
0: A/D converter module turn off and
current is not flow.
1: Enable A/D converter
R/W
R/W
R/W
R/W
R/W
R
A/D start bit
Setting this bit starts an A/D conversion.
After one cycle, bit is cleared to “0” by hardware.
ADS3 ADS2
INITIAL VALUE: Undefined
ADDRESS: 0EB
ADCR
A/D Conversion Data
BTCL
7
6
5
4
3
2
1
0
R
R
R
R
R
R
R
R
ADEN
相關(guān)PDF資料
PDF描述
HMS81C20XXA CMOS Single-Chip 8-Bit Microcontroller with A/D Converter & VFD Driver
HMS81C20XXA-HK CMOS Single-Chip 8-Bit Microcontroller with A/D Converter & VFD Driver
HN2716 2048-word x 8bit Erasable and Electrically Programmable Only Memory
HN27512 512K (64K X 8 BIT ) UV AND OTP EPROM
HN27512P-25 512K (64K X 8 BIT ) UV AND OTP EPROM
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
HMS81C20XXA 制造商:未知廠家 制造商全稱:未知廠家 功能描述:CMOS Single-Chip 8-Bit Microcontroller with A/D Converter & VFD Driver
HMS81C20XXA-HK 制造商:未知廠家 制造商全稱:未知廠家 功能描述:CMOS Single-Chip 8-Bit Microcontroller with A/D Converter & VFD Driver
HMS81C2112A 制造商:未知廠家 制造商全稱:未知廠家 功能描述:[VFD MCU: High Voltage IO/ADC/HS PWM/SCI]
HMS81C2120A 制造商:未知廠家 制造商全稱:未知廠家 功能描述:[VFD MCU: High Voltage IO/ADC/HS PWM/SCI]
HMS81C4260 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:HYNIX SEMICONDUCTOR INC. 8-BIT SINGLE-CHIP MICROCONTROLLERS