参数资料
型号: AT89LP4052-16SI
厂商: Atmel
文件页数: 22/94页
文件大小: 0K
描述: IC 8051 MCU FLASH 4K 20SOIC
标准包装: 38
系列: 89LP
核心处理器: 8051
芯体尺寸: 8-位
速度: 16MHz
连通性: SPI,UART/USART
外围设备: 欠压检测/复位,POR,PWM,WDT
输入/输出数: 15
程序存储器容量: 4KB(4K x 8)
程序存储器类型: 闪存
RAM 容量: 256 x 8
电压 - 电源 (Vcc/Vdd): 2.4 V ~ 5.5 V
振荡器型: 内部
工作温度: -40°C ~ 85°C
封装/外壳: 20-SOIC(0.295",7.50mm 宽)
包装: 管件
其它名称: AT89LP4052-20SI
AT89LP4052-20SI-ND
29
3547J–MICRO–10/09
AT89LP2052/LP4052
16.5
Pulse Width Modulation
Timer 0 and Timer 1 may be independently configured as 8-bit asymmetrical pulse width modu-
lators (PWM) by setting the PWM0EN or PWM1EN bits in TCONB, respectively. In PWM Mode
the generated waveform is output on the timer's pin, T0 or T1. C/T must be set to “0” when in
PWM mode. In Timer 0's PWM mode, TH0 acts as an 8-bit counter while RH0 stores the 8-bit
compare value. When TH0 is 00H the PWM output is set high. When the TH0 count reaches the
value stored in RH0 the PWM output is set low. Therefore, the pulse width is proportional to the
value in RH0. To prevent glitches writes to RH0 only take effect on the FFH to 00H overflow of
TH0. Timer 1 has the same behavior using TH1 and RH1. See Figure 16-5 for PWM waveform
example. Setting RH0 to 00H will keep the PWM output low.
The PWM will only function if the timer is in Mode 0 or Mode 1. In Mode 0, TL0 acts as a logarith-
mic prescaler driving TH0 (see Figure 16-6). The PSC0 bits in TCONB control the prescaler
value. In Mode 1, TL0 provides linear prescaling with an 8-bit auto-reload from RL0 (see Figure
Figure 16-5. Asymmetrical Pulse Width Modulation
Table 16-3.
TCONB
– Timer/Counter Control Register B
TCONB = 91H
Reset Value = 0010 0100B
Not Bit Addressable
PWM1EN
PWM0EN
PSC12
PSC11
PSC10
PSC02
PSC01
PSC00
Bit
7
65
43
21
0
Symbol
Function
PWM1EN
Configures Timer 1 for Pulse Width Modulation output on T1 (P3.5).
PWM0EN
Configures Timer 0 for Pulse Width Modulation output on T0 (P3.4).
PSC12
PSC11
PSC10
Prescaler for Timer 1 Mode 0. The number of active bits in TL1 equals PSC1 + 1. After reset PSC1 = 100B which
enables 5 bits of TL1 for compatibility with the 13-bit Mode 0 in AT89S2051.
PSC02
PSC01
PSC00
Prescaler for Timer 0 Mode 0. The number of active bits in TL0 equals PSC0 + 1. After reset PSC0 = 100B which
enables 5 bits of TL0 for compatibility with the 13-bit Mode 0 in AT89C52.
PWM Output (T0)
Counter Value (TH0)
Compare Value (RH0)
相关PDF资料
PDF描述
AT89LP4052-16PU IC 8051 MCU FLASH 4K 20DIP
PIC18LF4420-I/ML IC MCU FLASH 8KX16 44QFN
PIC18F2331-I/MM IC PIC MCU FLASH 4KX16 28QFN
AT89LP4052-16PI IC 8051 MCU FLASH 4K 20DIP
DSPIC30F3011-30I/P IC DSPIC MCU/DSP 24K 40DIP
相关代理商/技术参数
参数描述
AT89LP4052-16SU 功能描述:IC 8051 MCU FLASH 4K 20SOIC RoHS:是 类别:集成电路 (IC) >> 嵌入式 - 微控制器, 系列:89LP 标准包装:1,500 系列:AVR® ATtiny 核心处理器:AVR 芯体尺寸:8-位 速度:16MHz 连通性:I²C,LIN,SPI,UART/USART,USI 外围设备:欠压检测/复位,POR,PWM,温度传感器,WDT 输入/输出数:16 程序存储器容量:8KB(4K x 16) 程序存储器类型:闪存 EEPROM 大小:512 x 8 RAM 容量:512 x 8 电压 - 电源 (Vcc/Vdd):2.7 V ~ 5.5 V 数据转换器:A/D 11x10b 振荡器型:内部 工作温度:-40°C ~ 125°C 封装/外壳:20-SOIC(0.295",7.50mm 宽) 包装:带卷 (TR)
AT89LP4052-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
AT89LP4052-16XU 功能描述: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
AT89LP4052-20PU 功能描述:8位微控制器 -MCU SINGLE CYCLE 4K FLASH-20MHZ 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
AT89LP4052-20SU 功能描述:8位微控制器 -MCU SINGLE CYCLE 4K FLASH-20MHZ 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