参数资料
型号: AT89LP828-20JU
厂商: Atmel
文件页数: 92/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 形引线)
包装: 管件
47
3654A–MICRO–8/09
AT89LP428/828
11.5
Pulse Width Modulation
On the AT89LP428/828, Timer 0 and Timer 1 may be independently configured as 8-bit asym-
metrical (edge-aligned) pulse width modulators (PWM) by setting the PWM0EN or PWM1EN
bits in TCONB, respectively. In PWM mode the generated waveform is output on the timer's
input pin, T0 or T1. Therefore, C/Tx must be set to “0” when in PWM mode and the T0 (P3.4)
and T1 (P3.5) must be configured in an output mode. The Timer Overflow Flags and Interrupts
will continue to function while in PWM mode and Timer 1 may still generate the baud rate for the
UART. The timer GATE function also works in PWM mode, allowing the output to be halted by
an external input. Each PWM channel has four modes selected by the mode bits in TMOD.
An example waveform for Timer 0 in PWM mode 0 is shown in Figure 11-5. 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. Setting RH0 to 00H will keep the PWM
output low.
Figure 11-5. 8-bit Asymmetrical Pulse Width Modulation
Table 11-4.
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
6
543
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-0
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.
PSC0
2-0
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.
FFH
00H
RH0
(P3.4)T0
TF0 Set
TH0
Time
相关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