參數(shù)資料
型號: AT80C51RD2
廠商: Atmel Corp.
英文描述: ER 6C 3#16 3#8 SKT RECP BOX
中文描述: 80C51的高性能ROM的8位微控制器
文件頁數(shù): 18/81頁
文件大小: 1082K
代理商: AT80C51RD2
19
AT80C51RD2/AT83C51Rx2
4113A–8051–09/02
Figure 6.
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 7). 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)
FFh
(8-bit)
(8-bit)
C/T2
T2CON
TF2
TR2
T2
EXF2
TH2
(8-bit)
TL2
(8-bit)
RCAP2H
(8-bit)
RCAP2L
(8-bit)
FFh
TOGGLE
(UP COUNTING RELOAD VALUE)
TIMER 2
INTERRUPT
F
CLK PERIPH
0
1
T2CON
T2CON
T2CON
T2EX:
if DCEN = 1, 1 = UP
if DCEN = 1, 0 = DOWN
if DCEN = 0, up counting
:6
Clock
OutFrequency
F
RCAP
2
H
4
65536
RCAP
2
L
(
)
×
-------------------------------------------------------------------------------------------
=
相關(guān)PDF資料
PDF描述
AT83C51RB2 80C51 High Performance ROM 8-bit Microcontroller
AT83C51RC2 80C51 High Performance ROM 8-bit Microcontroller
AT80C51RD2-3CSCM Microcontroller
AT80C51RD2-3CSIM Microcontroller
AT80C51RD2-RLTIL Microcontroller
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
AT80C51RD2_05 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:80C51 High Performance ROM 8-bit Microcontroller
AT80C51RD2_08 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:80C51 High Performance ROM 8-bit Microcontroller
AT80C51RD2_09 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:80C51 High Performance ROM 8-bit Microcontroller
AT80C51RD2-3CSCM 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:80C51 High Performance ROM 8-bit Microcontroller
AT80C51RD2-3CSIM 功能描述:IC MCU 8051 5V SPI 20MHZ 40-DIP RoHS:否 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:80C 標準包裝:9 系列:87C 核心處理器:8051 芯體尺寸:8-位 速度:40/20MHz 連通性:UART/USART 外圍設(shè)備:POR,WDT 輸入/輸出數(shù):32 程序存儲器容量:32KB(32K x 8) 程序存儲器類型:OTP EEPROM 大小:- RAM 容量:256 x 8 電壓 - 電源 (Vcc/Vdd):4.5 V ~ 5.5 V 數(shù)據(jù)轉(zhuǎn)換器:- 振蕩器型:內(nèi)部 工作溫度:0°C ~ 70°C 封裝/外殼:40-DIP(0.600",15.24mm) 包裝:管件