参数资料
型号: P83CL781HDH
厂商: NXP SEMICONDUCTORS
元件分类: 微控制器/微处理器
英文描述: Low voltage 8-bit microcontrollers with UART and I2C-bus
中文描述: 8-BIT, MROM, 12 MHz, MICROCONTROLLER, PQFP44
封装: 10 X 10 MM, 1.75 MM HEIGHT, PLASTIC, SOT-307-2, QFP-44
文件页数: 18/76页
文件大小: 342K
代理商: P83CL781HDH
1997 Mar 14
18
Philips Semiconductors
Product specification
Low voltage 8-bit microcontrollers with
UART and I
2
C-bus
P83CL781; P83CL782
11 TIMER/EVENT COUNTERS
The P83CL78x contains three 16-bit timer/event counter
registers; Timer 0, Timer 1 and Timer 2 which can perform
the following functions:
Measure time intervals and pulse durations
Count events
Generate interrupt requests.
In the ‘Timer’ operating mode the register is incremented
every machine cycle. Since a machine cycle consists of
12 oscillator periods, the count rate is
1
12
×
f
osc
.
In the ‘Counter’ operating mode, the register is
incremented in response to a HIGH-to-LOW transition.
Since it takes 2 machine cycles (24 oscillator periods) to
recognize a HIGH-to-LOW transition, the maximum count
rate is
1
24
×
f
osc
. To ensure a given level is sampled, it
should be held for at least one complete machine cycle.
11.1
Timer 0 and Timer 1
Timer 0 and Timer 1 can be programmed independently to
operate in four modes:
Mode 0 8-bit timer or 8-bit counter each with divide-by-32
prescaler.
Mode 1 16-bit time-interval or event counter.
Mode 2 8-bit time-interval or event counter with automatic
reload upon overflow.
Mode 3 Timer 0 establishes TL0 and TH0 as two
separate counters.
11.2
Timer T2
Timer T2 is a 16-bit timer/counter that can operate (like
Timer 0 and 1) either as a timer or as an event counter.
These functions are selected by the state of the C/T2 bit in
the T2CON register; see Tables 1 and 2.
Three operating modes are available Capture, Auto-reload
and Baud Rate Generator, which also are selected via the
T2CON register; see Table 3.
11.2.1
C
APTURE MODE
Figure 10 shows the Capture mode. Two options in this
mode, may be selected by the EXEN2 bit in T2CON:
If EXEN2 = 0, then Timer 2 is a 16-bit timer or counter
which upon overflowing sets the Timer 2 overflow bit
TF2, this may then be used to generate an interrupt.
If EXEN2 = 1, Timer 2 operates as described above but
with the additional feature that a HIGH-to-LOW
transition at external input T2EX causes the current
value in TL2 and TH2 to be captured into registers
RCAP2L and RCAP2H respectively. In addition, the
transition at T2EX causes the EXF2 bit in T2CON to be
set; this may also be used to generate an interrupt.
11.2.2
A
UTO
-
RELOAD MODE
Figure 11 shows the Auto-reload mode. Also two options
in this mode are selected by the EXEN2 bit in T2CON:
If EXEN2 = 0, then when Timer 2 rolls over, it sets the
TF2 bit but also causes the Timer 2 registers to be
reloaded with the 16-bit value held in registers RCAP2L
and RCAP2H. The 16-bit value held in these registers is
preset by software.
If EXEN2 = 1, Timer 2 operates as described above but
with the additional feature that a HIGH-to-LOW
transition at external input T2EX will also trigger the
16-bit reload and set the EXF2 bit.
11.2.3
B
AUD
R
ATE
G
ENERATOR MODE
The Baud Rate Generator mode is selected when
RTCLK = 1. It will be described in conjunction with the
serial port (UART); see Section 14.3.2.
相关PDF资料
PDF描述
P83CL882 80C51 Ultra Low Power ULP telephony controller
P83CL883T TELX microcontrollers for CT0 handset/basestation applications
P83CL884T TELX microcontrollers for CT0 handset/basestation applications
P87CL883T TELX microcontrollers for CT0 handset/basestation applications
P87CL884T TELX microcontrollers for CT0 handset/basestation applications
相关代理商/技术参数
参数描述
P83CL781HFB 制造商:未知厂家 制造商全称:未知厂家 功能描述:8-Bit Microcontroller
P83CL781HFH 制造商:PHILIPS 制造商全称:NXP Semiconductors 功能描述:Low voltage 8-bit microcontrollers with UART and I2C-bus
P83CL781HFN 制造商:未知厂家 制造商全称:未知厂家 功能描述:8-Bit Microcontroller
P83CL781HFP 制造商:PHILIPS 制造商全称:NXP Semiconductors 功能描述:Low voltage 8-bit microcontrollers with UART and I2C-bus
P83CL782 制造商:PHILIPS 制造商全称:NXP Semiconductors 功能描述:Low voltage 8-bit microcontrollers with UART and I2C-bus