P30 To P34 (Port 3); P50 To P53 (Port 5) - NEC PD789488 User Manual

Pd789489 subseries 8-bit single-chip microcontrollers
Table of Contents

Advertisement

2.2.4 P30 to P34 (Port 3)

These pins constitute a 5-bit I/O port. In addition, they also function as timer I/O, external interrupt input, and
remote control receive data input
Port 3 can be specified in the following operation modes in 1-bit units.
(1)
Port mode
In this mode, P30 to P34 function as a 5-bit I/O port. Port 3 can be set in the input or output port mode in 1-
bit units by port mode register 3 (PM3). When used as an input port, use of an on-chip pull-up resistor can
be specified by pull-up resistor option register B3 (PUB3) in 1-bit units.
(2)
Control mode
In this mode, P30 to P34 function as timer I/O, external interrupt input, and remote control receive data
Note
input
.
(a)
TMI60, TMI61
These are the external clock input pins of timers 60 and 61.
(b)
TO20, TO50, TO60, TO61
These are the timer output pins of timers 20, 50, 60, and 61.
(c)
CPT20
This is the capture edge input pin of 16-bit timer 20.
(d)
INTP0 to INTP3
These are external interrupt input pins for which valid edges (rising edge, falling edge, or both rising and
falling edges) can be specified.
Note
(e)
RIN
This is the data input pin of the remote controller receiver.
µ
Note
PD789489 and 78F9489 only

2.2.5 P50 to P53 (Port 5)

These pins constitute as a 4-bit N-ch open-drain I/O port. Port 5 can be set in the input or output port mode in 1-
bit units by port mode register 5 (PM5). In the mask ROM version, use of an on-chip pull-up resistor can be specified
by a mask option in 1-bit units.
CHAPTER 2 PIN FUNCTIONS
Note
.
User's Manual U15331EJ4V1UD
41

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pd78f9488Pd78f9489Pd789489

Table of Contents