參數(shù)資料
型號: 935208540118
廠商: NXP SEMICONDUCTORS
元件分類: 微控制器/微處理器
英文描述: 8-BIT, 16 MHz, MICROCONTROLLER, PQCC44
封裝: PLASTIC, LCC-44
文件頁數(shù): 20/80頁
文件大小: 446K
代理商: 935208540118
1997 Dec 15
27
Philips Semiconductors
Product specication
8-bit microcontrollers
P83C524; P80C528; P83C528
11.2.2
CAPTURE MODE
In the capture mode (see Fig.14) 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.
11.2.3
AUTOMATIC RELOAD MODE
In the automatic reload mode (see Fig.15)there are two
options which are selected by bit EXEN2 in 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.
11.2.4
BAUD RATE GENERATOR MODE
The baud rate generator mode (see Fig.16) is selected by
RCLK = 1 and/or TCLK = 1 in 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 rollover 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 rate for
the Serial Port in Modes 1 and 3 are determined by
Timer 2's overflow rate as follows:
Timer 2 can be configured for either 'timer' or 'counter'
operation. In timer operation a prescaler divides the
oscillator frequency by 2 (by 12 in the previous modes) and
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
16
--------------------------------------------------------
=
Baud Rate
oscillator frequency
32
65536
RCAP2H RCAP2L
(,
)
]
[
×
-------------------------------------------------------------------------------------------------------
=
Fig.14 Timer 2 in capture mode.
handbook, full pagewidth
MBC468 - 1
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
相關(guān)PDF資料
PDF描述
935263366112 8-BIT, MROM, 16 MHz, MICROCONTROLLER, PQCC44
935045620112 8-BIT, MICROCONTROLLER, PQCC44
935208570557 8-BIT, 16 MHz, MICROCONTROLLER, PQFP44
935222930112 8-BIT, 24 MHz, MICROCONTROLLER, PQCC44
935208530112 8-BIT, 16 MHz, MICROCONTROLLER, PQCC44
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
9-352112-9 制造商:TE Connectivity 功能描述:Z-PACK SHLD.LOWER C - Bulk
9-352151-3 制造商:TE Connectivity 功能描述:ZP,22C.F.U.SH.44MMW/O LUBE - Tape and Reel 制造商:TE CONNECTIVITY 功能描述:ZP,22C.F.U.SH.44MMW/O LUBE
9-352151-9 制造商:TE Connectivity 功能描述:ZP,22C.F.U.SH.44MM - Bulk
935218-17 制造商:JANCO 功能描述:935218-17
9352370001 功能描述:HEAT SHRINK SLEEVE RoHS:是 類別:線纜,導(dǎo)線 - 管理 >> 標(biāo)簽,標(biāo)記 系列:HT-SCE 標(biāo)準(zhǔn)包裝:250 系列:CM-SCE 標(biāo)簽類型:標(biāo)準(zhǔn) 標(biāo)簽尺寸:2.00" x 0.25"(50.8mm x 6.4mm) 顏色:白 材質(zhì):聚烯烴 適用于相關(guān)產(chǎn)品:點陣打印機 包裝:* 工作溫度:-55°C ~ 135°C 其它名稱:A105291CM-SCE-TP-1/4-4H-9