参数资料
型号: AT89LP213-20XU
厂商: Atmel
文件页数: 52/98页
文件大小: 0K
描述: MCU 8051 2K FLASH 20MHZ 14-TSSOP
产品培训模块: MCU Product Line Introduction
标准包装: 95
系列: 89LP
核心处理器: 8051
芯体尺寸: 8-位
速度: 20MHz
连通性: SPI
外围设备: 欠压检测/复位,POR,PWM,WDT
输入/输出数: 12
程序存储器容量: 2KB(2K x 8)
程序存储器类型: 闪存
RAM 容量: 128 x 8
电压 - 电源 (Vcc/Vdd): 2.4 V ~ 5.5 V
振荡器型: 内部
工作温度: -40°C ~ 85°C
封装/外壳: 14-TSSOP(0.173",4.40mm 宽)
包装: 管件
56
3538E–MICRO–11/10
AT89LP213/214
19. Analog Comparator
A single analog comparator is provided on the AT89LP213/214. The analog comparator has the
following features:
Comparator Output Flag and Interrupt
Selectable Interrupt Condition
– High- or Low-level
– Rising- or Falling-edge
– Output Toggle
Hardware Debouncing Modes
Comparator operation is such that the output is a logic “1” when the positive input AIN0 (P1.0]) is
greater than the negative input AIN1 (P1.1). Otherwise the output is a zero. Setting the CEN bit
in ACSR enables the comparator. When the comparator is first enabled, the comparator output
and interrupt flag are not guaranteed to be stable for 10 s. The corresponding comparator inter-
rupt should not be enabled during that time, and the comparator interrupt flag must be cleared
before the interrupt is enabled in order to prevent an immediate interrupt service. Before
enabling the comparator the analog inputs should be tristated by putting P1.0 and P1.1 into
The comparator may be configured to cause an interrupt under a variety of output value condi-
tions by setting the CM bits in ACSR. The comparator interrupt flag CF in ACSR is set whenever
the comparator output matches the condition specified by CM. The flag may be polled by soft-
ware or may be used to generate an interrupt and must be cleared by software.
19.1
Comparator Interrupt with Debouncing
The comparator output is 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. In debounc-
ing mode, the comparator uses Timer 1 to modulate its sampling time. When a relevant
transition occurs, the comparator waits until two Timer 1 overflows have occurred before resam-
pling the output. If the new sample agrees with the expected value, CF 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 free running, the debouncer must wait for two overflows to guarantee that the sam-
pling 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 19-1 on page 57.
By default the comparator is disabled during Idle mode. To allow the comparator to function dur-
ing Idle, the CIDL bit is ACSR must be set. When CIDL is set, the comparator can be used to
wake-up the CPU from Idle if the comparator interrupt is enabled. The comparator is always dis-
abled during Power-down mode.
相关PDF资料
PDF描述
V375A36E500BF2 CONVERTER MOD DC/DC 36V 500W
V375A36E500BF CONVERTER MOD DC/DC 36V 500W
V375A36E500BL3 CONVERTER MOD DC/DC 36V 500W
31-212 BNC CONN CLAMP/SOLDER RG-59
V375A36E500BL CONVERTER MOD DC/DC 36V 500W
相关代理商/技术参数
参数描述
AT89LP214-16XI 功能描述:8位微控制器 -MCU Microcontroller 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
AT89LP214-20PU 功能描述:8位微控制器 -MCU SINGLE CYCLE 2K 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
AT89LP214-20SU 功能描述:8位微控制器 -MCU SINGLE CYCLE 2K 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
AT89LP214-20XU 功能描述:8位微控制器 -MCU SINGLE CYCLE 2K 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
AT89LP216-16XI 功能描述:8位微控制器 -MCU Microcontroller 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