參數(shù)資料
型號: P83CL580
廠商: NXP Semiconductors N.V.
英文描述: Low voltage 8-bit microcontrollers with UART, I2C-bus and ADC
中文描述: 低電壓8 - UART的,位微控制器的I2C總線和ADC
文件頁數(shù): 17/80頁
文件大?。?/td> 366K
代理商: P83CL580
1997 Mar 14
17
Philips Semiconductors
Product specification
Low voltage 8-bit microcontrollers with
UART, I
2
C-bus and ADC
P80CL580; P83CL580
11 TIMERS/EVENT COUNTERS
The P8xCL580 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 2 and 3.
Three operating modes are available Capture, Auto-reload
and Baud Rate Generator, which also are selected via the
T2CON register; see Table 4.
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 16.3.2.
相關(guān)PDF資料
PDF描述
P8xCL580HFH Low voltage 8-bit microcontrollers with UART, I2C-bus and ADC
P8xCL580HFT Low voltage 8-bit microcontrollers with UART, I2C-bus and ADC
P8216 Four-Bit Parallel Bidirectional Bus Driver
P8226 Four-Bit Parallel Bidirectional Bus Driver
P82284-6 CPU System Clock Generator
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
P83CL580HFB 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller
P83CL580HFD 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller
P83CL781 制造商:PHILIPS 制造商全稱:NXP Semiconductors 功能描述:Low voltage 8-bit microcontrollers with UART and I2C-bus
P83CL781HDH 制造商:PHILIPS 制造商全稱:NXP Semiconductors 功能描述:Low voltage 8-bit microcontrollers with UART and I2C-bus
P83CL781HFB 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller