P90 To P96 (Port 9); P100 To P103 (Port 10); P120 To P127 (Port 12) - NEC PD78076 User Manual

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

Advertisement

4.2.10 P90 to P96 (Port 9)

These are 7-bit input/output ports.
P90 to P93 can drive LEDs directly.
They can be specified bit-wise as input or output ports with port mode register 9 (PM9).
P90 to P93 are N-ch open-drain pins. Mask ROM version product can contain pull-up resistors with the mask option.
When P94 to P96 are used as input ports, on-chip pull-up resistors can be connected by defining the pull-up resistor
option register H (PUOH).

4.2.11 P100 to P103 (Port 10)

These are 4-bit input/output ports. Besides serving as input/output ports, they function as a timer input/output.
The following operating modes can be specified bit-wise.
(1) Port mode
These ports function as 4-bit input/output ports. They can be specified bit-wise as input or output ports with
port mode register 10 (PM10). When they are used as input ports, on-chip pull-up resistors can be connected
by defining the pull-up resistor option register H (PUOH).
(2) Control mode
These ports function as timer input/output.
(a) TI5 and TI6
Pins for external clock input to 8-bit timer/event counter.
(b) TO5 to TO6
Pins for timer output.

4.2.12 P120 to P127 (Port 12)

These are 8-bit input/output ports. Besides serving as input/output ports, they function as a real-time output port.
The following operating modes can be specified bit-wise.
(1) Port mode
These ports function as 8-bit input/output ports. They can be specified bit-wise as input or output ports with
port mode register 12 (PM12). When they are used as input ports, on-chip pull-up resistors can be connected
by defining the pull-up resistor option register H (PUOH).
(2) Control mode
These ports function as real-time output ports (RTP0 to RTP7) outputting data in synchronization with a
trigger.
CHAPTER 4 PIN FUNCTION ( PD78078Y SUBSERIES)
93

Advertisement

Table of Contents
loading

Table of Contents