Description Of Pin Functions; P00 To P07 (Port 0); P20 To P27 (Port 2) - NEC mPD780065 Series Preliminary User's Manual

8-bit single-chip microcontrollers
Table of Contents

Advertisement

2.2 Description of Pin Functions

2.2.1 P00 to P07 (Port 0)

This is an 8-bit input/output port. Besides serving as an input/output port, these pins function as external interrupt
request inputs.
The following operating modes can be specified in 1-bit units.
(1) Port mode
These pins function as an 8-bit input/output port.
These pins can be specified for input or output in 1-bit units with port mode register 0 (PM0). On-chip pull-up
resistors can be specified by defining pull-up resistor option register 0 (PU0).
(2) Control mode
In this mode, these pins function as external interrupt request inputs (INTP0 to INTP3).
INTP0 to INTP3 are external interrupt request input pins for which valid edges (rising edge, falling edge, and
both rising and falling edges) can be specified.

2.2.2 P20 to P27 (Port 2)

This is an 8-bit input/output port. Besides serving as an input/output port, these pins function as timer input/outputs.
The following operating modes can be specified in 1-bit units.
(1) Port mode
These pins function as an 8-bit input/output port. They can be specified in 1-bit units as input or output ports
with port mode register 2 (PM2). On-chip pull-up resistors can be specified by defining pull-up resistor option
register 2 (PU2). P20 and P21 also function as 16-bit timer/event counter capture trigger signal input pins through
a valid edge input.
(2) Control mode
These pins function as timer input/outputs.
(a) TI00
A 16-bit timer/event counter external count clock input pin and 16-bit timer/event counter capture trigger
signal input pin for the capture register (CR01).
(b) TI01
A 16-bit timer/event counter capture trigger signal input pin for the capture register (CR00).
(c) TI50, TI51
An 8-bit timer/event counter external count clock input pins.
(d) TO0, TO50, TO51
Timer output pins.
36
CHAPTER 2 PIN FUNCTION
Preliminary User's Manual U13420EJ2V0UM00

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mpd780065Mpd78f0066

Table of Contents