ATAM893X-TKHYZ ATMEL [ATMEL Corporation], ATAM893X-TKHYZ Datasheet - Page 27

no-image

ATAM893X-TKHYZ

Manufacturer Part Number
ATAM893X-TKHYZ
Description
Flash Version for ATAR080, ATAR090/890 and ATAR092/892
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
5.2.3
4680C–4BMCU–01/05
Bi-directional Port 5
As all other bi-directional ports, this port includes a bit-wise programmable Control Register
(P5CR), which allows the individual programming of each port bit as input or output. It also
opens up the possibility of reading the pin condition when in output mode. This is a useful fea-
ture for self testing and for serial bus applications.
The port pins can also be used as external interrupt inputs (see
page
on either edge. The interrupt configuration and port direction is controlled by the Port 5 Control
Register (P5CR). An additional low resistance pull-up/-down transistor mask option provides an
internal bus pull-up for serial bus applications.
The Port 5 Data Register (P5DAT) is I/O mapped to the primary address register of address ’5’h
and the Port 5 Control Register (P5CR) to the corresponding auxiliary register. The P5CR is a
byte-wide register and is configured by writing first the low nibble and then the high nibble (see
Section 5.1 on page
Figure 5-4.
28). The interrupts (INT1 and INT6) can be masked or independently configured to trigger
I/O Bus
I/O Bus
Master reset
IN enable
Bi-directional Port 5
(Data out)
P5DATy
D
22).
S
Q
(1)
Flash options
V
DD
(1)
(1)
Switched
pull-up
(1)
(1)
pull-down
Switched
Figure 5-4
V
DD
ATAM893-D
(1)
(1)
Static
pull-up
BP5y
Static
Pull-down
V
and
DD
Figure 5-5 on
27

Related parts for ATAM893X-TKHYZ