DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

AT89LP4052-20XU(2008) View Datasheet(PDF) - Atmel Corporation

Part Name
Description
Manufacturer
AT89LP4052-20XU
(Rev.:2008)
Atmel
Atmel Corporation Atmel
AT89LP4052-20XU Datasheet PDF : 93 Pages
First Prev 11 12 13 14 15 16 17 18 19 20 Next Last
AT89LP2052/LP4052
Table 14-4. IPH – Interrupt Priority High Register
IPH = B7H
Not Bit Addressable
PCH
PSH
Bit
7
6
5
4
PT1H
3
Reset Value = X0X0 0000B
PX1H
2
PT0H
1
PX0H
0
Symbol
PCH
PSH
PT1H
PX1H
PT0H
PX0H
Function
Comparator Interrupt Priority High
Serial Port Interrupt Priority High
Timer 1 Interrupt Priority High
External Interrupt 1 Priority High
Timer 0 Interrupt Priority High
External Interrupt 0 Priority High
15. I/O Ports
All 15 port pins on the AT89LP2052/LP4052 may be configured to one of four modes: quasi-bidi-
rectional (standard 8051 port outputs), push-pull output, open-drain output, or input-only. Port
modes may be assigned in software on a pin-by-pin basis as shown in Table 15-1. All port pins
default to input-only mode after reset. Each port pin also has a Schmitt-triggered input for
improved input noise rejection. During Power-down all the Schmitt-triggered inputs are disabled
with the exception of P3.2 and P3.3, which may be used to wake-up the device. Therefore P3.2
and P3.3 should not be left floating during Power-down.
Table 15-1. Configuration Modes for Port x, Bit y
PxM0.y
PxM1.y
Port Mode
0
0
Quasi-bidirectional
0
1
Push-pull Output
1
0
Input Only (High Impedance)
1
1
Open-Drain Output
15.1
Quasi-bidirectional Output
Port pins in quasi-bidirectional output mode function similar to standard 8051 port pins. A Quasi-
bidirectional port can be used both as an input and output without the need to reconfigure the
port. This is possible because when the port outputs a logic high, it is weakly driven, allowing an
external device to pull the pin low. When the pin is driven low, it is driven strongly and able to
sink a large current. There are three pull-up transistors in the quasi-bidirectional output that
serve different purposes.
One of these pull-ups, called the “very weak” pull-up, is turned on whenever the port register for
the pin contains a logic “1”. This very weak pull-up sources a very small current that will pull the
pin high if it is left floating.
19
3547I–MICRO–6/08

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]