148
AT94KAL Series FPSLIC
Rev. 1138G–FPSLI–11/03
Note:
1. n: 7,6...0, pin number
Figure 75.
PortD Schematic Diagram
PortE
PortE is an 8-bit bi-directional I/O port with internal pull-up resistors.
Three I/O memory address locations are allocated for the PortE, one each for the Data Regis-
ter – PORTE, $07($27), Data Direction Register – DDRE, $06($26) and the PortE Input Pins –
PINE, $05($25). The PortE Input Pins address is read only, while the Data Register and the
Data Direction Register are read/write.
The PortE output buffers can sink 20 mA. As inputs, PortE pins that are externally pulled Low
will source current if the pull-up resistors are activated.
All PortE pins have alternate functions as shown in Table 47.
Table 46.
DDDn
Bits on PortD Pins
DDDn
PORTDn
I/O
Pull-up
Comment
0
0
Input
No
Tri-state (High-Z)
0
1
Input
Yes
PDn will source current if
external pulled low (default)
1
0
Output
No
Push-pull zero output
1
1
Output
No
Push-pull one output
PD*
DATA BUS
RL
WL
DDD*
Q D
R
PORTD*
Q D
R
RESET
RESET
WD
RD
RP
GTS
DL
MOS
PULLUP
RESET
DL
GTS: Global Tri-State
DL: Configuration Download
WL: Write PORTD
WD: Write DDRD
RL: Read PORTD Latch
RD: Read DDRD
RP: Read PORTD Pin