P87LPC762 Philips Semiconductors, P87LPC762 Datasheet - Page 23

no-image

P87LPC762

Manufacturer Part Number
P87LPC762
Description
Low power/ low price/ low pin count 20 pin microcontroller with 2 kbyte OTP
Manufacturer
Philips Semiconductors
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
P87LPC762BD
Manufacturer:
PHILIPS/飞利浦
Quantity:
20 000
Part Number:
P87LPC762BDH
Manufacturer:
IBM
Quantity:
191
Part Number:
P87LPC762BDH
Manufacturer:
PHILIPS/飞利浦
Quantity:
20 000
Part Number:
P87LPC762BDHЈ¬512
Manufacturer:
NXP
Quantity:
12 525
Part Number:
P87LPC762BDЈ¬512
Manufacturer:
PH3
Quantity:
26 410
Part Number:
P87LPC762BN
Manufacturer:
INFINEON
Quantity:
17 662
Part Number:
P87LPC762BN
Manufacturer:
PHILIPS/飞利浦
Quantity:
20 000
Company:
Part Number:
P87LPC762BN
Quantity:
1 400
Company:
Part Number:
P87LPC762BN
Quantity:
200
Part Number:
P87LPC762BNЈ¬112
Manufacturer:
NXP
Quantity:
630
Part Number:
P87LPC762DH
Manufacturer:
PHILIPS/飞利浦
Quantity:
20 000
Part Number:
P87LPC762FN
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Philips Semiconductors
Keyboard Interrupt (KBI)
The Keyboard Interrupt function is intended primarily to allow a
single interrupt to be generated when any key is pressed on a
keyboard or keypad connected to specific pins of the 87LPC762, as
shown in Figure 14. This interrupt may be used to wake up the CPU
from Idle or Power Down modes. This feature is particularly useful in
handheld, battery powered systems that need to carefully manage
power consumption yet also need to be convenient to use.
The 87LPC762 allows any or all pins of port 0 to be enabled to
cause this interrupt. Port pins are enabled by the setting of bits in
2001 Oct 26
P2M1
Low power, low price, low pin count (20 pin)
microcontroller with 2 kbyte OTP
BIT
P2M1.7
P2M1.6
P2M1.5
P2M1.4
P2M1.3
P2M1.2
P2M1.1, P2M1.0
Address: A4h
Not Bit Addressable
SYMBOL
ENCLK
T1OE
T0OE
P2S
P1S
P0S
P2S
7
FUNCTION
When P2S = 1, this bit enables Schmitt trigger inputs on Port 2.
When P1S = 1, this bit enables Schmitt trigger inputs on Port 1.
When P0S = 1, this bit enables Schmitt trigger inputs on Port 0.
When ENCLK is set and the 87LPC762 is configured to use the on-chip RC oscillator, a clock
output is enabled on the X2 pin (P2.0). Refer to the Oscillator section for details.
When set, the P0.7 pin is toggled whenever Timer 1 overflows. The output frequency is therefore
one half of the Timer 1 overflow rate. Refer to the Timer/Counters section for details.
When set, the P1.2 pin is toggled whenever Timer 0 overflows. The output frequency is therefore
one half of the Timer 0 overflow rate. Refer to the Timer/Counterssection for details.
These bits, along with the matching bits in the P2M2 register, control the output configuration of
P2.1 and P2.0 respectively, as shown in Table 4.
P1S
6
Figure 13. Port 2 Mode Register 1 (P2M1)
P0S
5
ENCLK
4
20
T1OE
Due to human time scales and the mechanical delay associated with
the KBI register, as shown in Figure 15. The Keyboard Interrupt Flag
(KBF) in the AUXR1 register is set when any enabled pin is pulled
low while the KBI interrupt function is active. An interrupt will
generated if it has been enabled. Note that the KBF bit must be
cleared by software.
keyswitch closures, the KBI feature will typically allow the interrupt
service routine to poll port 0 in order to determine which key was
pressed, even if the processor has to wake up from Power Down
mode. Refer to the section on Power Reduction Modes for details.
3
T0DE
2
(P2M1.1)
1
(P2M1.0)
0
Reset Value: 00h
87LPC762
SU01222
Preliminary data

Related parts for P87LPC762