144
CHAPTER 6 PORT FUNCTIONS
6.2.6 Port 4
Port 4 is an 8-bit input/output port with output latch. P40 to P47 pins can specify the input mode/output mode in
8-bit units with the memory expansion mode register (MM). When P40 to P47 pins are used as input ports, an on-
chip pull-up resistor can be connected to them in 8-bit units with a pull-up resistor option register L (PUOL).
The test input flag (KRIF) can be set to 1 by detecting falling edges.
Dual-functions include address/data bus function in external memory expansion mode.
RESET input sets port 4 to input mode.
Figures 6-10 and 6-11 show a block diagram of port 4 and block diagram of falling edge detection circuit,
respectively.
Figure 6-10. Block Diagram of P40 to P47
PUO : Pull-up resistor option register
MM : Memory expansion mode register
RD
: Port 4 read signal
WR : Port 4 write signal
Figure 6-11. Block Diagram of Falling Edge Detection Circuit
P40
P41
P42
P43
P44
P45
P46
P47
Falling Edge
Detection Circuit
KRMK
KRIF Set Signal
Standby Release
Signal
P-ch
WR
MM
WR
PORT
RD
WR
PUO
V
DD
Selector
PUO4
Output Latch
(P40 to P47)
MM
Internal bus
P40/AD0 to
P47/AD7
Содержание PD78076
Страница 2: ...2 MEMO ...
Страница 12: ...12 MEMO ...
Страница 48: ...48 MEMO ...
Страница 64: ...64 MEMO ...
Страница 82: ...82 MEMO ...
Страница 100: ...100 MEMO ...
Страница 130: ...130 MEMO ...
Страница 180: ...180 MEMO ...
Страница 222: ...222 MEMO ...
Страница 248: ...248 MEMO ...
Страница 288: ...288 MEMO ...
Страница 308: ...308 MEMO ...
Страница 364: ...364 MEMO ...
Страница 494: ...494 MEMO ...
Страница 526: ...526 MEMO ...
Страница 544: ...544 MEMO ...
Страница 558: ...558 MEMO ...
Страница 580: ...580 MEMO ...
Страница 596: ...596 MEMO ...
Страница 598: ...598 MEMO ...
Страница 626: ...626 MEMO ...