www.DataSheet4U.com
CHAPTER 6 PORT FUNCTIONS
142
6.2.6 Port 4
Port 4 is an 8-bit input/output port with output latch. P40 to P47 pins can be set to 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, a pull-
up resistor can be connected to them in 8-bit units with an on-chip pull-up resistor option register (PUO).
Test input flag (KRIF) is set to 1 by falling edge detection.
Alternate functions include address/data bus in external memory expansion mode.
RESET input sets port 4 to input mode.
Figure 6-11 shows a block diagram of port 4. Figure 6-12 shows a block diagram of the falling edge detector.
Figure 6-11. P40 to P47 Block Diagrams
PUO : Pull-up resistor option register
MM
: Memory expansion mode register
RD
: Port 4 read signal
WR
: Port 4 write signal
Figure 6-12. Block Diagram of Falling Edge Detector
WR
PUO
RD
WR
PORT
WR
MM
PUO4
Output Latch
(P40 to P47)
MM
Selector
V
DD
P-ch
P40/AD0 to
P47/AD7
Internal Bus
P40
P42
P41
P43
P44
P45
P46
P47
Falling Edge Detector
KRMK
KRIF set signal
standby release signal
KRIF
: Test input flag
KRMK : Test mask flag
Summary of Contents for 78014Y Series
Page 2: ...www DataSheet4U com 2 MEMO...
Page 8: ...www DataSheet4U com 8 MEMO...
Page 22: ...www DataSheet4U com 22 MEMO...
Page 30: ...www DataSheet4U com 30 MEMO...
Page 34: ...www DataSheet4U com 34 MEMO...
Page 62: ...www DataSheet4U com CHAPTER 2 OUTLINE PD78014Y Subseries 62 MEMO...
Page 78: ...www DataSheet4U com CHAPTER 3 PIN FUNCTION PD78014 Subseries 78 MEMO...
Page 94: ...www DataSheet4U com CHAPTER 4 PIN FUNCTION PD78014Y Subseries 94 MEMO...
Page 170: ...www DataSheet4U com CHAPTER 7 CLOCK GENERATOR 170 MEMO...
Page 222: ...www DataSheet4U com CHAPTER 9 8 BIT TIMER EVENT COUNTER 222 MEMO...
Page 230: ...www DataSheet4U com CHAPTER 10 WATCH TIMER 230 MEMO...
Page 262: ...www DataSheet4U com CHAPTER 14 A D CONVERTER 262 MEMO...
Page 318: ...www DataSheet4U com CHAPTER 15 SERIAL INTERFACE CHANNEL 0 PD78014 Subseries 318 MEMO...
Page 408: ...www DataSheet4U com CHAPTER 16 SERIAL INTERFACE CHANNEL 0 PD78014Y Subseries 408 MEMO...
Page 446: ...www DataSheet4U com CHAPTER 17 SERIAL INTERFACE CHANNEL 1 446 MEMO...
Page 472: ...www DataSheet4U com CHAPTER 18 INTERRUPT FUNCTIONS AND TEST FUNCTION 472 MEMO...
Page 502: ...www DataSheet4U com CHAPTER 22 PD78P014 78P014Y 502 MEMO...
Page 520: ...www DataSheet4U com CHAPTER 23 INSTRUCTION SET 520 MEMO...