參數(shù)資料
型號: 935260531512
廠商: NXP SEMICONDUCTORS
元件分類: 微控制器/微處理器
英文描述: 8-BIT, FLASH, 40 MHz, MICROCONTROLLER, PQCC44
封裝: PLASTIC, LCC-44
文件頁數(shù): 14/67頁
文件大?。?/td> 400K
代理商: 935260531512
1998 Apr 07
21
Philips Semiconductors
Product specication
8-bit Flash microcontrollers
P89C738; P89C739
10.2
Timer 2
Timer 2 is functionally similar to the Timer 2 of the 8052AH. Timer 2 is a 16-bit timer/counter which is formed by two
SFRs, TL2 and TH2. Another pair of SFRs, RCAP2L and RCAP2H, form a 16-bit capture register or a 16-bit reload
register.
Like Timer 0 and Timer 1, Timer 2 can operate either as timer or as event counter. This is selected by bit C/T2 in SFR
T2CON. The timer has three operating modes: ‘capture’, ‘a(chǎn)utoload’ and ‘baud rate generator’, which are selected by bits
in SFR T2CON (see Tables 14 and 15).
10.2.1
TIMER/COUNTER 2CONTROL REGISTER (T2CON)
Table 14 Timer/Counter 2 Control Register (SFR address C8H)
Table 15 Description of T2CON bits
Table 16 Timer 2 operating modes
X = don’t care.
76543210
TF2
EXF2
RCLK
TCLK
EXEN2
TR2
C/T2
CP/RL2
BIT
SYMBOL
DESCRIPTION
7
TF2
Timer 2 overow ag. Set by a Timer 2 overow and must be cleared by software. TF2
will not be set when either RCLK = 1 or TCLK = 1. When Timer 2 interrupt is enabled,
TF2 = 1 will cause the CPU to vector to Timer 2 interrupt routine.
6
EXF2
Timer 2 external ag. Set when either a capture or reload is caused by a negative
transition on T2EX and when EXEN2 = 1. When Timer T2 interrupt is enabled,
EXF2 = 1 will cause the CPU to vector to Timer 2 interrupt routine.
5
RCLK
Receive clock ag. When set, causes the Serial Port to use Timer 2 overow pulses
for its receive clock in Modes 1 and 3. RCLK = 0 causes Timer 1 overows to be used
for the receive clock.
4
TCLK
Transmit clock ag. When set, causes the Serial Port to use Timer 2 overow pulses
for its transmit clock in Modes 1 and 3. TCLK = 0 causes Timer 1 overows to be used
for the transmit clock.
3
EXEN2
Timer 2 external enable ag. When set, allows a capture or reload to occur as a result
of a negative transition on T2EX, if Timer 2 is not being used to clock the Serial Port.
EXEN2 = 0, causes Timer 2 to ignore events at T2EX.
2
TR2
Timer 2 start/stop control. TR2 = 1 starts Timer 2; TR2 = 0 stops Timer 2.
1C/T2
Timer 2 timer or counter select. C/T2 = 0 selects the internal timer with a clock
frequency of 1
12fclk. C/T2 = 1 selects the external event counter; falling edge triggered.
0
CP/RL2
Capture/reload ag. When set, capture will occur on negative transitions at T2EX if
EXEN2 = 1. When cleared, reloads will occur upon either Timer 2 overows or negative
transitions at T2EX if EXEN2 = 1. When either RCLK = 1 or TCLK = 1, this bit is ignored
and the timer is forced to reload upon overow.
RCLK
TCLK
CP/RL2
TR2
MODE
0001
16-bit automatic reload
0011
16-bit capture
1
X
1
baud rate generator
X
0
off
相關(guān)PDF資料
PDF描述
935225410112 8-BIT, FLASH, 40 MHz, MICROCONTROLLER, PDIP40
06F9814 DIODE SCHOTTKY 0.5A
06F9823 DIODE SCHOTTKY GLEICHRICHTER
06F9946 DIODE SCHOTTKY GLEICHRICHTER
935228870112 ABT SERIES, QUAD 4-BIT DRIVER, TRUE OUTPUT, PDSO48
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
935261069122 制造商:NXP Semiconductors 功能描述:IC SECURITY TRANSPONDER PLLMC
935262025112 制造商:NXP Semiconductors 功能描述:SUB ONLY IC
935262217118 制造商:NXP Semiconductors 功能描述:Real Time Clock Serial 8-Pin SO T/R
935264217557 制造商:NXP Semiconductors 功能描述:SUB ONLY IC
935267356112 制造商:NXP Semiconductors 功能描述:IC TEA1507PN