Port 4; Port 12; Block Diagram Of P40 To P47; Block Diagram Of Falling Edge Detection Circuit - NEC PD78076 User Manual

Pd78078 series; pd78078y series 8-bit single-chip microcontrollers
Table of Contents

Advertisement

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.
WR
PUO
RD
WR
PORT
WR
MM
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
144
CHAPTER 6 PORT FUNCTIONS
Figure 6-10. Block Diagram of P40 to P47
PUO4
Selector
Output Latch
(P40 to P47)
MM
Falling Edge
Detection Circuit
KRMK
V
DD
P-ch
P40/AD0 to
P47/AD7
KRIF Set Signal
Standby Release
Signal

Advertisement

Table of Contents
loading

Table of Contents