Port 1 - Fujitsu MB90895 Series Hardware Manual

16 bit, controller manual
Table of Contents

Advertisement

CHAPTER 4 I/O PORT
4.3

Port 1

Port 1 is a general-purpose I/O port that also serves as a peripheral resource I/O pin.
When the single-chip mode is set, use port 1 by switching between the resource pin and
the general-purpose I/O port.
The configuration, pin assignment, block diagram of the pins, and registers for port 1
are shown below.
I Configuration of Port 1
Port 1 consists of the following three elements:
• General-purpose I/O port, resource I/O pin (P10/IN0 to P17/PPG3)
• Port 1 data register (PDR1)
• Port 1 direction register (DDR1)
I Pin Assignment of Port 1
• When the single-chip mode is set, use the port by switching between the peripheral pin and the general-
purpose I/O port.
• Since the port serves as a resource pin, it cannot be used as a general-purpose I/O port when used as a
peripheral.
• When using port 1 as the input pin of the peripheral, set the pin corresponding to the resource in the
DDR1 as an input port.
• When using the port as the output of the resource, set the output of the corresponding resource to
enabled.Port 1 functions as the output pin of the resource regardless of the settings of the DDR1.
Table 4.3-1 shows pin assignment of port 1.
Table 4.3-1 Pin Assignment of Port 1
Port
Pin Name
Name
P10/IN0
P11/IN1
P12/IN2
P13/IN3
port 1
P14/PPG0
P15/PPG1
P16/PPG2
P17/PPG3
Reference:
For the circuit type, see Section 1.7 I/O Circuit.
162
Port Function
P10
IN0
P11
IN1
P12
IN2
P13
IN3
General-
purpose I/O
P14
PPG0
P15
PPG1
P16
PPG2
P17
PPG3
Resource
Input
input capture
input
CMOS
(hysteresis)
CMOS/
Automotive
PPG timer
output
I/O Type
Circuit
Type
Output
CMOS
D
CMOS
G
high current

Advertisement

Table of Contents
loading

This manual is also suitable for:

F2mc-16lx

Table of Contents