参数资料
型号: AT89C51ID2-SLSUM
厂商: Atmel
文件页数: 88/157页
文件大小: 0K
描述: IC 8051 MCU FLASH 64K 44PLCC
产品培训模块: MCU Product Line Introduction
标准包装: 972
系列: 89C
核心处理器: 8051
芯体尺寸: 8-位
速度: 60MHz
连通性: I²C,SPI,UART/USART
外围设备: POR,PWM,WDT
输入/输出数: 34
程序存储器容量: 64KB(64K x 8)
程序存储器类型: 闪存
EEPROM 大小: 2K x 8
RAM 容量: 2K x 8
电压 - 电源 (Vcc/Vdd): 2.7 V ~ 5.5 V
振荡器型: 外部
工作温度: -40°C ~ 85°C
封装/外壳: 44-LCC(J 形引线)
包装: 管件
配用: AT89OCD-01-ND - USB EMULATOR FOR AT8XC51 MCU
36
AT89C51ID2
4289C–8051–11/05
Figure 12. Auto-Reload Mode Up/Down Counter (DCEN = 1)
Programmable Clock-
Output
In the clock-out mode, Timer 2 operates as a 50%-duty-cycle, programmable clock gen-
erator (See Figure 13). The input clock increments TL2 at frequency F
CLK PERIPH/2.The
timer repeatedly counts to overflow from a loaded value. At overflow, the contents of
RCAP2H and RCAP2L registers are loaded into TH2 and TL2.In this mode, Timer 2
overflows do not generate interrupts. The formula gives the clock-out frequency as a
function of the system oscillator frequency and the value in the RCAP2H and RCAP2L
registers:
For a 16 MHz system clock, Timer 2 has a programmable frequency range of 61 Hz
(F
CLK PERIPH/2
16
)
to 4 MHz (F
CLK PERIPH/4). The generated clock signal is brought out to
T2 pin (P1.0).
Timer 2 is programmed for the clock-out mode as follows:
Set T2OE bit in T2MOD register.
Clear C/T2 bit in T2CON register.
Determine the 16-bit reload value from the formula and enter it in RCAP2H/RCAP2L
registers.
Enter a 16-bit initial value in timer registers TH2/TL2.It can be the same as the
reload value or a different one depending on the application.
To start the timer, set TR2 run control bit in T2CON register.
It is possible to use Timer 2 as a baud rate generator and a clock generator simulta-
neously. For this configuration, the baud rates and clock frequencies are not
independent since both functions use the values in the RCAP2H and RCAP2L registers.
(DOWN COUNTING RELOAD VALUE)
C/T2
TF2
TR2
T2
EXF2
TH2
(8-bit)
TL2
(8-bit)
RCAP2H
(8-bit)
RCAP2L
(8-bit)
FFh
(8-bit)
FFh
(8-bit)
TOGGLE
(UP COUNTING RELOAD VALUE)
TIMER 2
INTERRUPT
F
CLK PERIPH
0
1
T2CON
T2EX:
if DCEN=1, 1=UP
if DCEN=1, 0=DOWN
if DCEN = 0, up counting
:6
Clock O
– utFrequency
F
CLKPERIPH
4
65536
RCAP2HRCAP2L
)
(
×
---------------------------------------------------------------------------------------------
=
相关PDF资料
PDF描述
AT91SAM7X128B-CU IC MCU 128KB FLASH 100TFBGA
AT91SAM7XC128B-AU MCU ARM 128K HS FLASH 100-LQFP
ATSAM3U1CA-CU IC MCU 32BIT 64KB FLASH 100TFBGA
1981584-1 CONN RCPT MICRO USB TYPE AB
1981568-1 CONN RCPT MICRO USB B R/A SMD
相关代理商/技术参数
参数描述
AT89C51ID2-SMSIM 制造商:ATMEL 制造商全称:ATMEL Corporation 功能描述:8-bit Flash Microcontroller
AT89C51ID2-UM 制造商:ATMEL 制造商全称:ATMEL Corporation 功能描述:8-bit Flash Microcontroller
AT89C51RB2 制造商:ATMEL 制造商全称:ATMEL Corporation 功能描述:8-bit Microcontroller with 16K/ 32K Bytes Flash
AT89C51RB2/RC2 制造商:ATMEL 制造商全称:ATMEL Corporation 功能描述:AT89C51RB2/RC2 [Updated 4/03. 125 Pages]
AT89C51RB2_06 制造商:ATMEL 制造商全称:ATMEL Corporation 功能描述:8-bit Microcontroller with 16K/ 32K Bytes Flash