参数资料
型号: 89C52
厂商: Integrated Silicon Solution, Inc.
英文描述: CMOS SINGLE CHIP 8-BIT MICROCONTROLLER with 8-Kbytes of FLASH
中文描述: CMOS单芯片的8位单片机,带有8的快闪记忆体
文件页数: 17/50页
文件大小: 425K
代理商: 89C52
IS89C52
Integrated Silicon Solution, Inc. — 1-800-379-4774
MC013-1C
11/21/98
17
ISSI
Figure 11. Timer/Counter 0 Mode 3: Two 8-Bit Counters
DIVIDE 12
1/12 FOSC
1/12 FOSC
OSC
TL0
(8 BITS)
TF0
TF1
CONTROL
CONTROL
C/T = 0
C/T = 1
GATE
TR1
INT0 PIN
TR0
T0 PIN
INTERRUPT
TH0
(8 BITS)
INTERRUPT
1/12 FOSC
Timer 2
This is a powerful addition to the other two just discussed.
Five extra special function registers are added to
accommodate Timer 2 which are: the timer registers, TL2
and TH2, the timer control register, T2CON, and the
capture registers, RCAP2L and RCAP2H. Like Timers 0
and 1, it can operate either as a timer or as an event
counter, depending on the value of bit C/
T2
in the Special
Function Register T2CON. Timer 2 has three operating
modes: capture, auto-reload, and baud rate generator,
which are selected by RCLK, TCLK, CP/
RL2
, and TR2.
In the Capture Mode, the EXEN2 bit in T2CON selects two
options. If EXEN2 = 0, then Timer 2 is a 16-bit timer or
counter whose overflow sets bit TF2, the Timer 2 overflow
bit, which can be used to generate an interrupt. If EXEN2
= 1, then Timer 2 performs the same way, but a 1-to-0
transition at external input T2EX also causes the current
value in the Timer 2 registers, TL2 and TH2, to be captured
into the RCAP2L and RCAP2H registers, respectively. In
addition, the transition at T2EX sets the EXF2 bit in
T2CON, and EXF2, like TF2, can generate an interrupt.
The Capture Mode is illustrated in Figure 12.
In the auto-reload mode, the EXEN2 bit in T2CON also
selects two options. If EXEN2 = 0, then when Timer 2 rolls
over it sets TF2 and also reloads the Timer 2 registers with
the 16-bit value in the RCAP2L and RCAP2H registers,
which are preset by software. If EXEN2 = 1, then Timer 2
performs the same way, but a 1-to-0 transition at external
input T2EX also triggers the 16-bit reload and sets EXF2.
The auto-reload mode is illustrated in Figure 13.
The baud rate generator mode is selected by RCLK = 1
and/or TCLK = 1. This mode is described in conjunction
with the serial port (see Figure 14).
相关PDF资料
PDF描述
89C59 FlashFlex51 MCU
89HPES12N3A 12 Lane 3-Port PCI Express㈢ Switch
89HPES12NT3 12-lane 3-Port Non-Transparent PCI Express㈢ Switch
89HPES12NT3ZABC 12-lane 3-Port Non-Transparent PCI Express㈢ Switch
89HPES12NT3ZABCG 12-lane 3-Port Non-Transparent PCI Express㈢ Switch
相关代理商/技术参数
参数描述
89C52-24JC 制造商: 功能描述: 制造商:undefined 功能描述:
89C52-24PC 制造商: 功能描述: 制造商:undefined 功能描述:
89C535 制造商:PHILIPS 制造商全称:NXP Semiconductors 功能描述:CMOS single-chip 8-bit microcontrollers with FLASH program memory
89C536 制造商:PHILIPS 制造商全称:NXP Semiconductors 功能描述:80C51 8-bit microcontroller family 16K/64K/512 FLASH
89C538 制造商:PHILIPS 制造商全称:NXP Semiconductors 功能描述:CMOS single-chip 8-bit microcontrollers with FLASH program memory