P87LPC760BDH NXP Semiconductors, P87LPC760BDH Datasheet - Page 32

no-image

P87LPC760BDH

Manufacturer Part Number
P87LPC760BDH
Description
MCU 8-Bit 87LP 80C51 CISC 1KB EPROM 5V 14-Pin TSSOP Tube
Manufacturer
NXP Semiconductors
Datasheet

Specifications of P87LPC760BDH

Package
14TSSOP
Device Core
80C51
Family Name
87LP
Maximum Speed
20 MHz
Ram Size
128 Byte
Program Memory Size
1 KB
Operating Supply Voltage
5 V
Data Bus Width
8 Bit
Program Memory Type
EPROM
Number Of Programmable I/os
12
Interface Type
I2C/UART
Operating Temperature
0 to 70 °C
Number Of Timers
2
automatic reload, as shown in Figures 28 and 29. Overflow from TLn
Philips Semiconductors
Mode 1
Mode 1 is the same as Mode 0, except that all 16 bits of the timer
register (THn and TLn) are used. (See Figures 26 and 27)
Mode 2
Mode 2 configures the Timer register as an 8-bit Counter (TLn) with
not only sets TFn, but also reloads TLn with the contents of THn,
which must be preset by software. The reload leaves THn
unchanged. Mode 2 operation is slightly different for Timer 0 and
Timer 1 (see Figures 28 and 29).
Mode 3
When Timer 1 is in Mode 3 it is stopped. The effect is the same as
setting TR1 = 0.
2002 Mar 07
Low power, low price, low pin count (14 pin)
microcontroller with 1 kbyte OTP
OSC/6
OSC/6
OSC/6
OSC/12
OSC/12
OSC/12
INT0 PIN
T0 PIN
GATE
TR0
OR
OR
OR
Figure 26. Timer/Counter 0 in Mode 1 (16-Bit Timer/Counter)
C/T = 1
C/T = 0
Figure 25. Timer 1 in Mode 0 (13-Bit Timer)
Figure 27. Timer 1 in Mode 1 (16-Bit Timer)
TR1
TR1
CONTROL
CONTROL
CONTROL
29
Timer 0 in Mode 3 establishes TL0 and TH0 as two separate 8-bit
counters. The logic for Mode 3 on Timer 0 is shown in Figure 30.
TL0 uses the Timer 0 control bits: C/T, GATE, TR0, and TF0 as well
as the INT0 pin. TH0 is locked into a timer function (counting
machine cycles) and takes over the use of TR1 and TF1 from Timer
1. Thus, TH0 now controls the “Timer 1” interrupt.
Mode 3 is provided for applications that require an extra 8-bit timer.
With Timer 0 in Mode 3, an P87LPC760 can look like it has three
Timer/Counters. When Timer 0 is in Mode 3, Timer 1 can be turned
on and off by switching it into and out of its own Mode 3. It can still
be used by the serial port as a baud rate generator, or in any
application not requiring an interrupt.
(5 BITS)
(8 BITS)
(8 BITS)
TL1
TL0
TL1
(8 BITS)
(8 BITS)
(8 BITS)
TH1
TH0
TH1
TOGGLE
OVERFLOW
OVERFLOW
OVERFLOW
T0OE
TF1
TF0
TF1
P87LPC760
INTERRUPT
INTERRUPT
INTERRUPT
Preliminary data
T0 PIN
SU01553
SU01545
SU01546

Related parts for P87LPC760BDH