P30 To P33 (Port 3); P60 And P61 (Port 6) - NEC mPD78F0730 Preliminary User's Manual

8-bit single-chip microcontroller
Table of Contents

Advertisement

2.2.3 P30 to P33 (port 3)

P30 to P33 function as a 4-bit I/O port. These pins also function as pins for external interrupt request input and
timer I/O.
The following operation modes can be specified in 1-bit units.
(1) Port mode
P30 to P33 function as a 4-bit I/O port. P30 to P33 can be set to input or output port in 1-bit units using port
mode register 3 (PM3). Use of an on-chip pull-up resistor can be specified by pull-up resistor option register 3
(PU3).
(2) Control mode
P30 to P33 function as external interrupt request input and timer I/O.
(a) INTP1 to INTP3
These are the external interrupt request input pins for which the valid edge (rising edge, falling edge, or both
rising and falling edges) can be specified.
(b) TI51
This is an external count clock input pin to 8-bit timer/event counter 51.
(c) TO51
This is a timer output pin from 8-bit timer/event counter 51.
Cautions 1. In the
2. When writing the flash memory with a flash memory programmer, connect P31/INTP2/OCD1A as
Remark Only for the
OCD1B) when the on-chip debug function is used. For how to connect an in-circuit emulator supporting
on-chip debugging (QB-78K0MINI), see CHAPTER 22 ON-CHIP DEBUG FUNCTION.

2.2.4 P60 and P61 (port 6)

P60 and P61 function as a 2-bit I/O port.
The following operation modes can be specified in 1-bit units.
(1) Port mode
P60 and P61 function as a 2-bit I/O port. P60 and P61 can be set to input port or output port in 1-bit units using
port mode register 6 (PM6).
Output of P60 and P61 is N-ch open-drain output (6 V tolerance).
24
Downloaded from
Elcodis.com
electronic components distributor
CHAPTER 2 PIN FUNCTIONS
µ
PD78F0730, be sure to pull the P31 pin down before a reset release to prevent
malfunction.
follows.
• P31/INTP2/OCD1A: Connect to EV
The above connection is not necessary when writing the flash memory by means of self
programming.
µ
PD78F0730, P31 and P32 can be used as on-chip debug mode setting pins (OCD1A,
Preliminary User's Manual U19014EJ1V0UD
via a resistor (10 kΩ: recommended).
SS

Advertisement

Table of Contents
loading

Table of Contents