10 p90 to p96 (port 9), 11 p100 to p103 (port 10), 12 p120 to p127 (port 12) – NEC uPD78P078 User Manual

Page 93

Advertising
background image

93

CHAPTER 4 PIN FUNCTION (

µ

PD78078Y SUBSERIES)

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.

Advertising
This manual is related to the following products: