at90ls8535-8mi ATMEL Corporation, at90ls8535-8mi Datasheet - Page 77

no-image

at90ls8535-8mi

Manufacturer Part Number
at90ls8535-8mi
Description
8-bit Microcontroller With 8k Bytes In-system Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet
Port A as General Digital I/O
Port A Schematics
1041H–11/01
All eight pins in Port A have equal functionality when used as digital I/O pins.
PAn, general I/O pin: The DDAn bit in the DDRA register selects the direction of this pin.
If DDAn is set (one), PAn is configured as an output pin. If DDAn is cleared (zero), PAn
is configured as an input pin. If PORTAn is set (one) when the pin is configured as an
input pin, the MOS pull-up resistor is activated. To switch the pull-up resistor off, the
PORTAn has to be cleared (zero) or the pin has to be configured as an output pin.The
port pins are tri-stated when a reset condition becomes active, even if the clock is not
running.
Table 29. DDAn Effects on Port A Pins
Note:
Note that all port pins are synchronized. The synchronization latch is, however, not
shown in the figure.
Figure 51. Port A Schematic Diagrams (Pins PA0 - PA7)
DDAn
0
0
1
1
n: 7,6…0, pin number.
PORTAn
PAn
0
1
0
1
MOS
PULL-
UP
WP:
WD:
RL:
RP:
RD:
n:
WRITE PORTA
WRITE DDRA
READ PORTA LATCH
READ PORTA PIN
READ DDRA
0-7
Output
Output
Input
Input
I/O
PWRDN
Pull-up
Yes
No
No
No
Comment
Tri-state (high-Z)
PAn will source current if ext. pulled low
Push-pull Zero Output
Push-pull One Output
RL
RP
TO ADC MUX
Q
Q
AT90S/LS8535
PORTAn
RESET
RESET
DDAn
WD
WP
RD
C
C
D
D
ADCn
77

Related parts for at90ls8535-8mi