Port 6 - NEC PD78076 User Manual

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

Advertisement

6.2.8 Port 6

Port 6 is an 8-bit input/output port with output latch. P60 to P67 pins can specify the input mode/output mode in
1-bit units with the port mode register 6 (PM6).
This port has pull-up resistor options as shown below. However, the option specification method differs depending
on the port pin and the device version.
Higher 4 bits (P64 to P67)
Mask ROM version Internal pull-up resistors can be specified
by setting PUO6 in 4-bit units.
PROM version
PUO6 : Bit 6 of the pull-up resistor option register L (PUOL)
Pins P60 to P63 can drive LEDs directly.
Dual-functions include the control signal output function in external memory expansion mode.
RESET input sets port 6 to input mode.
Figures 6-13 and 6-14 show block diagrams of port 6.
Cautions 1. When external wait is not used in external memory expansion mode, P66 can be used as
an input/output port.
2. When the low level is input to the P60 to P63 pins, the leakage current that flows through
each of these pins depends on the following conditions:
[Mask ROM version]
• When a pull-up resistor is connected,
–3 A (max.)
• When a pull-up resistor is not connected,
–200 A (max.) ........ for 1.5 clock cycles during which a read instruction is executed to
–3 A (max.) ............ during periods other than the above
[PROM version]
• When a pull-up resistor is not connected,
–200 A (max.) ........ for 1.5 clock cycles during which a read instruction is executed to
–3 A (max.) ............ during periods other than the above
146
CHAPTER 6 PORT FUNCTIONS
Table 6-4. Pull-up Resistor Options for Port 6
port 6 (P6) or port mode register 6 (PM6) (It is assumed that no wait
cycles are inserted.)
port 6 (P6) or port mode register 6 (PM6) (It is assumed that no wait
cycles are inserted.)
Lower 4 bits (P60 to P63)
Internal mask-option pull-up resistors can be
specified bitwise.
No pull-up resistor options

Advertisement

Table of Contents
loading

Table of Contents