参数资料
型号: AT87C5112
厂商: Atmel Corp.
英文描述: 8-bit Microcontroller with A/D Converter
中文描述: 8位微控制器与A / D转换器
文件页数: 48/97页
文件大小: 1229K
代理商: AT87C5112
48
AT8xC5112
4191B
8051
04/03
ADC Operation
Before starting a conversion, the A/D converter must be enabled, by setting the ADEN
bit, for at least Tsetup (four microseconds).
A start of single A/D conversion is triggered by setting bit ADSST (ADCON.3).
From the ADSST set, the first full CONV_CK period will be the sampling period for the
ADC; during this period, the switch is closed and the capacitor is being charged. At the
end of the first period, the switch opens and the capacitor is no longer being charged.
During the next 10 CONV_CK periods, the sample and hold will be in hold mode during
the conversion. The busy flag ADSST(ADCON.3) remains set as long as an A/D conver-
sion is running. After completion of the A/D conversion, it is cleared by hardware. When
a conversion is running, this flag can be read only, a write has no effect.
The end-of-conversion flag ADEOC (ADCON.4) is set when the value of conversion is
available in ADDH and ADDL, it is cleared by software. If the bit EADC (IE1.1) is set, an
interrupt occur when flag ADEOC is set (see Figure 22). Clear this flag for re-arming the
interrupt.
From this point, if you keep starting a new conversion by resetting ADSST without
changing ADEN, it is not necessary to wait Tsetup.
The bits SCH0 to SCH2 in ADCON register are used for the analog input channel
selection.
Before starting normal power reduction modes the ADC conversion has to be com-
pleted.
Table 35.
Selected Analog Input
Voltage Conversion
When the ADCIN is equals to VAREF the ADC converts the signal to 3FFh (full scale). If
the input voltage equals VAGND, the ADC converts it to 000h. Input voltage between
VAREF and VAGND are a straight-line linear conversion. All other voltages will result in
3FFh if greater than VAREF and 000h if less than VAGND.
Note that ADCIN should not exceed VAREF absolute maximum range.
SCH2
SCH1
SCH0
Selected Analog Input
0
0
0
AN0
0
0
1
AN1
0
1
0
AN2
0
1
1
AN3
1
0
0
AN4
1
0
1
AN5
1
1
0
AN6
1
1
1
AN7
相关PDF资料
PDF描述
AT80C51RB2-3CSCM 80C51 High Performance ROM 8-bit Microcontroller
AT80C51RB2-3CSIM 80C51 High Performance ROM 8-bit Microcontroller
AT80C51RB2-3CSUM 80C51 High Performance ROM 8-bit Microcontroller
AT80C51RB2-RLTIL 80C51 High Performance ROM 8-bit Microcontroller
AT80C51RB2-RLTIM 80C51 High Performance ROM 8-bit Microcontroller
相关代理商/技术参数
参数描述
AT87C51RB2 制造商:IRF 制造商全称:International Rectifier 功能描述:High Performance 8-bit Microcontroller
AT87C51RB2-3CSUL 功能描述:8位微控制器 -MCU OTP RB/16K 40MHZ 3V RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
AT87C51RB2-3CSUM 功能描述:8位微控制器 -MCU 32KB SCMOS 3/2 .5 OTP RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
AT87C51RB2-RLRUM 功能描述:8位微控制器 -MCU 32KB 2.5u RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
AT87C51RB2-RLTUL 功能描述:8位微控制器 -MCU OTP RB/16K 40MHZ 3V RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT