参数资料
型号: AT89LP828-20JU
厂商: Atmel
文件页数: 3/149页
文件大小: 0K
描述: MCU 8051 8K FLASH SPI 32PLCC
产品培训模块: MCU Product Line Introduction
标准包装: 32
系列: 89LP
核心处理器: 8051
芯体尺寸: 8-位
速度: 20MHz
连通性: SPI,UART/USART
外围设备: 欠压检测/复位,POR,PWM,WDT
输入/输出数: 30
程序存储器容量: 8KB(8K x 8)
程序存储器类型: 闪存
EEPROM 大小: 1K x 8
RAM 容量: 768 x 8
电压 - 电源 (Vcc/Vdd): 2.4 V ~ 5.5 V
振荡器型: 内部
工作温度: -40°C ~ 85°C
封装/外壳: 32-LCC(J 形引线)
包装: 管件
100
3654A–MICRO–8/09
AT89LP428/828
18.1
Analog Input Muxes
The positive input terminal of each comparator may be connected to any of the four analog input
pins by changing the CSA
1-0 or CSB1-0 bits in ACSRA and ACSRB. When changing the analog
input pins, the comparator must be disconnected from its inputs by clearing the CONA or CONB
bits. The connection is restored by setting the bits again after the muxes have been modified.
CLR
EC
; Disable comparator interrupts
ANL
ACSRA, #0DFh
; Clear CONA to disconnect COMP A
...
; Modify CSA or RFA bits
ORL
ACSRA, #020h
; Set CONA to connect COMP A
ANL
ACSRA, #0EFh
; Clear any spurious interrupt
SETB
EC
; Re-enable comparator interrupts
The corresponding comparator interrupt should not be enabled while the inputs are being
changed, and the comparator interrupt flag must be cleared before the interrupt is re-enabled in
order to prevent an unintentional interrupt request.
18.2
Internal Reference Voltage
The negative input terminal of each comparator may be connected to an internal voltage refer-
ence by changing the RFB
1-0 or RFA1-0 bits in AREF. The internal reference voltage, VAREF, is
set to 1.25V ±5%. The voltage reference also provides two additional voltage levels approxi-
mately 125 mV above and below V
AREF. These levels may be used to configure the comparators
as an internally referenced window comparator with up to four input channels. Changing the ref-
erence input must follow the same routine used for changing the positive input as described in
18.3
Comparator Interrupt Debouncing
The comparator output is normally sampled every clock cycle. The conditions on the analog
inputs may be such that the comparator output will toggle excessively. This is especially true if
applying slow moving analog inputs. Three debouncing modes are provided to filter out this
noise for edge-triggered interrupts. In debouncing mode, the comparator uses Timer 1 to modu-
late its sampling time when CxC
1-0 = 00B. When a relevant transition occurs, the comparator
waits until two Timer 1 overflows have occurred before resampling the output. If the new sample
agrees with the expected value, CFx is set. Otherwise, the event is ignored. The filter may be
tuned by adjusting the time-out period of Timer 1. Because Timer 1 is running free, the
debouncer must wait for two overflows to guarantee that the sampling delay is at least 1 time-out
period. Therefore, after the initial edge event, the interrupt may occur between 1 and 2 time-out
periods later. See Figure 18-2. When the comparator clock is provided by one of the timer over-
flows, i.e. CxC
1-0 = 00B, any change in the comparator output must be valid after 4 samples to
be accepted as an edge event.
Figure 18-2. Negative Edge with Debouncing Example
Comparator Out
Timer 1 Overflow
CFx
Start
Compare
(rejected)
Compare
(accepted)
相关PDF资料
PDF描述
VI-B21-IX-F4 CONVERTER MOD DC/DC 12V 75W
VI-B21-IX-F3 CONVERTER MOD DC/DC 12V 75W
VI-B21-IX-F1 CONVERTER MOD DC/DC 12V 75W
ADG508FBRN IC MULTIPLEXER 8X1 16SOIC
VI-B21-IW-F4 CONVERTER MOD DC/DC 12V 100W
相关代理商/技术参数
参数描述
AT89LP828-20MH 功能描述:8位微控制器 -MCU Single Cycle 8051 8K ISP Flash 2.4V-5.5V 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
AT89LP828-20PU 功能描述:8位微控制器 -MCU Single Cycle 8051 8K ISP Flash 2.4V-5.5V 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
AT89LP828-AU 功能描述:8位微控制器 -MCU Single-Cycle 8051 8K ISP Flash, 2.4-5.5V 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
AT89LP828-JU 功能描述:8位微控制器 -MCU Single-Cycle 8051 8K ISP Flash, 2.4-5.5V 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
AT89LP828-PU 功能描述:8位微控制器 -MCU Single-Cycle 8051 8K ISP Flash, 2.4-5.5V 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