參數(shù)資料
型號: P89C739
廠商: NXP Semiconductors N.V.
英文描述: 8-bit Flash microcontrollers
中文描述: 8位閃存微控制器
文件頁數(shù): 22/64頁
文件大?。?/td> 360K
代理商: P89C739
1998 Apr 07
22
Philips Semiconductors
Product specification
8-bit Flash microcontrollers
P89C738; P89C739
10.2.2
C
APTURE MODE
In the capture mode (see Fig.11) there are two options
which are selected by bit EXEN2 in T2CON. If EXEN2 = 0,
then Timer 2 is a 16-bit timer/counter which on overflow
sets bit TF2 (Timer 2 overflow bit). TF2 can be used to
generate an interrupt. If EXEN2 = 1, Timer 2 operates as
above, with the added feature that a HIGH-to-LOW
transition at the external input T2EX causes the current
value in Timer 2 registers (TL2 and TH2) to be captured
into registers RCAP2L and RCAP2H, respectively. The
HIGH-to-LOW transition of T2EX also causes bit EXF2 in
T2CON to be set. EXF2 can be used to generate an
interrupt.
10.2.3
A
UTOMATIC RELOAD MODE
In the automatic reload mode (see Fig.12) there are two
options which are selected by bit EXEN2 in SFR T2CON.
If EXEN2 = 0, then a Timer 2 overflow sets TF2 and
causes the Timer 2 registers to be reloaded with the 16-bit
value in registers RCAP2L and RCAP2H, which are preset
by software.
If EXEN2 = 1, Timer 2 operates as above, with the added
feature that a HIGH-to-LOW transition at the external input
T2EX triggers the 16-bit reload and sets EXF2.
10.2.4
B
AUD RATE GENERATOR MODE
The baud rate generator mode (see Fig.13) is selected by
RCLK = 1 and/or TCLK = 1 in SFR T2CON. Overflows of
either Timer 2 or Timer 1 can be used independently for
generating baud rates for transmit and receive.
The baud rate generation by Timer 1 and/or Timer 2 is
used for the Serial Port in Mode 1 and Mode 3. The baud
rate generation mode is similar to the automatic reload
mode, in that a roll-over in TH2 causes the Timer 2
registers to be reloaded with the 16-bit value in registers
RCAP2L and RCAP2H, which are preset by software.
The baud rates for the Serial Port in Modes 1 and 3 are
determined by Timer 2 overflow rate as follows:
16
Timer 2 can be configured for either ‘timer’ or ‘counter’
operation. Normally, as a timer it would increment every
machine cycle (thus at
1
12
f
clk
). As a baud rate generator,
however it increments every state time (thus at
1
2
f
clk
).
The baud rate is given by the formula:
In this mode an overflow of Timer 2 does not set TF2.
If EXEN2 = 1, a HIGH-to-LOW transition at pin T2EX sets
EXF2 and can be used to generate an interrupt.
Baud rate
Timer 2 overflow rate
=
Baud rate
f
32
65536
RCAP2H, RCAP2L
(
)
[
]
×
----------------------------------------------------------------------------------------------------
=
Fig.11 Timer 2 in capture mode.
handbook, full pagewidth
MLA608
TL2
(8 BITS)
TR2
control
TH2
(8 BITS)
RCAP2L
RCAP2H
EXF2
TF2
Timer 2
interrupt
EXEN2
control
C/T2 = 1
T2 PIN
12
OSC
transition
detector
T2EX PIN
C/T2 = 0
capture
相關(guān)PDF資料
PDF描述
P89LPC904 8-bit microcontrollers with two-clock accelerated 80C51 core 1 kB 3 V byte-erasable Flash with 8-bit A/D converter
P89LPC904FD 8-bit microcontrollers with two-clock accelerated 80C51 core 1 kB 3 V byte-erasable Flash with 8-bit A/D converter
P89LPC9102 8-bit microcontrollers with two-clock accelerated 80C51 core 1 kB 3 V byte-erasable Flash with 8-bit A/D converter
P89LPC9107 8-bit microcontrollers with two-clock accelerated 80C51 core 1 kB 3 V byte-erasable Flash with 8-bit A/D converter
P89LPC9107FDH 8-bit microcontrollers with two-clock accelerated 80C51 core 1 kB 3 V byte-erasable Flash with 8-bit A/D converter
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
P89C739ABA 制造商:PHILIPS 制造商全稱:NXP Semiconductors 功能描述:8-bit Flash microcontrollers
P89C739ABB 制造商:PHILIPS 制造商全稱:NXP Semiconductors 功能描述:8-bit Flash microcontrollers
P89CE528EBA 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller
P89CE528EFA 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller
P89CE558 制造商:PHILIPS 制造商全稱:NXP Semiconductors 功能描述:Single-chip 8-bit microcontroller