Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AT89LP213 Datasheet(PDF) 24 Page - ATMEL Corporation

Part # AT89LP213
Description  8-bit Microcontroller with 2K Bytes Flash
PDF  98 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

AT89LP213 Datasheet(HTML) 24 Page - ATMEL Corporation

Back Button AT89LP213 Datasheet HTML 20Page - ATMEL Corporation AT89LP213 Datasheet HTML 21Page - ATMEL Corporation AT89LP213 Datasheet HTML 22Page - ATMEL Corporation AT89LP213 Datasheet HTML 23Page - ATMEL Corporation AT89LP213 Datasheet HTML 24Page - ATMEL Corporation AT89LP213 Datasheet HTML 25Page - ATMEL Corporation AT89LP213 Datasheet HTML 26Page - ATMEL Corporation AT89LP213 Datasheet HTML 27Page - ATMEL Corporation AT89LP213 Datasheet HTML 28Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 24 / 98 page
background image
24
3538D–MICRO–10/09
AT89LP213/214
13.1
Port Configuration
All port pins on the AT89LP213/214 may be configured to one of four modes: quasi-bidirectional
(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 13-2. The Tristate-Port User
Fuse determines the default state of the port pins. When the fuse is enabled, all port pins default
to input-only mode after reset, with the exception of P1.4 which starts in quasi-bidirectional
mode. When the fuse is disabled, all port pins, with the exception of P1.0 and P1.1, default to
quasi-bidirectional mode after reset and are weakly pulled high. 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 P1.3, P3.2 and P3.3, which may be used to
wake up the device. Therefore P1.3, P3.2 and P3.3 should not be left floating during Power-
down. It is recommended that P3.1–0 on AT89LP213 and P3.4–5 on AT89LP214 be configured
for either quasi-bidirectional or push-pull output mode.
.
13.1.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 latch 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.
A second pull-up, called the “weak” pull-up, is turned on when the port latch for the pin contains
a logic “1” and the pin itself is also at a logic “1” level. This pull-up provides the primary source
current for a quasi-bidirectional pin that is outputting a “1”. If this pin is pulled low by an external
device, this weak pull-up turns off, and only the very weak pull-up remains on. In order to pull the
pin low under these conditions, the external device has to sink enough current to overpower the
weak pull-up and pull the port pin below its input threshold voltage.
The third pull-up is referred to as the “strong” pull-up. This pull-up is used to speed up low-to-
high transitions on a quasi-bidirectional port pin when the port latch changes from a logic “0” to a
logic “1”. When this occurs, the strong pull-up turns on for two CPU clocks quickly pulling the
port pin high. The quasi-bidirectional port configuration is shown in Figure 13-1. The input cir-
cuitry of P1.3, P3.2 and P3.3 is not disabled during Power-down (see Figure 13-3).
Table 13-2.
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



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com