參數資料
型號: P83C524EFA
廠商: NXP SEMICONDUCTORS
元件分類: 微控制器/微處理器
英文描述: CONN, JACK MODULAR 90DEG 4P 4C
中文描述: 8-BIT, MROM, 16 MHz, MICROCONTROLLER, PQCC44
封裝: PLASTIC, LCC-44
文件頁數: 26/76頁
文件大小: 400K
代理商: P83C524EFA
1997 Dec 15
26
Philips Semiconductors
Product specification
8-bit microcontrollers
P83C524; P80C528; P83C528
11.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 1, Timer 2 can operate either as timer or as event counter. This is selected by bit C/T2 in the
T2CON SFR. The timer has three operating modes: 'capture', 'autoload' and 'baud rate generator', which are selected
by bits in the T2CON SFR (see Table 9).
Table 9
Timer 2 operating modes
11.2.1
T
IMER
2 C
ONTROL
R
EGISTER
(T2CON)
Table 10
Timer 2 Control register (address C8H)
Table 11
Description of the T2CON bits
RCLK + TCLK
CP/RL2
TR2
MODE
0
0
1
X
0
1
X
X
1
1
1
0
16-bit automatic reload
16-bit capture
baud rate generator
OFF
7
6
5
4
3
2
1
0
TF2
EXF2
RCLK
TCLK
EXEN2
TR2
C/T2
CP/RL2
MNEMONIC
POSITION
FUNCTION
TF2
T2CON.7
Timer 2 overflow flag
: set by a Timer 2 overflow 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 (see EXF2).
Timer 2 external flag
: set when either a capture or reload is caused by a negative
transition on T2EX and EXEN2 = 1. When Timer 2 interrupt is enabled, EXF2 = 1 will
cause the CPU to vector to Timer 2 interrupt routine.
Receive clock flag
: when set, causes the Serial Port to use Timer 2 overflow pulses for
its receive clock in Modes 1 and 3. RCLK = 0 causes Timer 1 overflows to be used for
the receive clock.
Transmit clock flag
: when set, causes the Serial Port to use Timer 2 overflow pulses
for its transmit clock in Modes 1 and 3. TCLK = 0 causes Timer 1 overflows to be used
for the transmit clock.
Timer 2 external enable flag
: 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.
Start/stop control
: a logic 1 starts Timer 2. A logic 0 stops Timer 2.
Timer/counter select
: 0 = internal timer (OSC/12). 1 = external event counter (falling
edge triggered).
Capture/reload flag
: when set, capture will occur on negative transitions at T2EX if
EXEN2 = 1. When cleared, reloads will occur upon either Timer 2 overflows 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 overflow.
EXF2
T2CON.6
RCLK
T2CON.5
TCLK
T2CON.4
EXEN2
T2CON.3
TR2
C/T2
T2CON.2
T2CON.1
CP/RL2
T2CON.0
相關PDF資料
PDF描述
P83C524EFP CONN HEADER 12POS SGL PCB 30GOLD
P83C524IBA 8-bit microcontrollers
P83C524IBB 8-bit microcontrollers
P83C524IFB 8-bit microcontrollers
P83C524IFP 8-bit microcontrollers
相關代理商/技術參數
參數描述
P83C524EFB 制造商:PHILIPS 制造商全稱:NXP Semiconductors 功能描述:8-bit microcontrollers
P83C524EFP 制造商:PHILIPS 制造商全稱:NXP Semiconductors 功能描述:8-bit microcontrollers
P83C524FFA 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller
P83C524FFP 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller
P83C524FHA 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller