Overview Of I/O Ports - Fujitsu MB90895 Series Hardware Manual

16 bit, controller manual
Table of Contents

Advertisement

CHAPTER 4 I/O PORT
4.1

Overview of I/O Ports

I/O ports can be used as general-purpose I/O ports (parallel I/O ports). In MB90895
series, there are five ports (34 pins).
Each port pin also serves as a peripheral I/O pins.
I I/O Port Function
The I/O ports enable the port data register (PDR) to output data to the I/O pins from the CPU and fetch
signals input to the I/O pins.These also enable the port direction register (DDR) to set a direction for the I/
O pins by bit.
The following shows the function of each port, and the peripherals that it also serves as:
• Port 1: Serves as both general-purpose I/O port and PPG timer output, or input capture input
• Port 2: Serves as both general-purpose I/O port and reload timer I/O, or external interrupt input
• Port 3: Serves as both general-purpose I/O port or A/D converter start trigger pin
• Port 4: Serves as both general-purpose I/O port and UART1 I/O or CAN controller transmit/receive pin
• Port 5: Serves as both general-purpose I/O port and analog input pin
Table 4.1-1 List of Each Port Functions
Port Name
Pin Name
Input Type
P10/IN0 to
P13/IN3
port 1
P14/PPG0 to
P17/PPG3
P20/TIN0 to
port 2
CMOS
P27/INT7
(hysteresis)
/Automotive
P30/SOT0 to
/CMOS*
port 3
P33, P35/X0A
to P37/ADTG
P40/SIN1 to
Port 4
P44/RX
Analog/CMOS
P50/AN0 to
(hysteresis)
Port 5
P57/AN7
*1:Only P32/SIN, P40/SIN1
*2:If the low-speed oscillation pin is selected (for MB90F897), P35 and P36 pins cannot be used.
Note:
When using these ports as general-purpose ports, always set each bit of the analog input
enable register (ADER) corresponding to each pin of the ports to "0".ADER bit is "1" at a
reset.
160
Output Type
Function
General-purpose I/
CMOS
O ports
CMOS high
Resource
current
General-purpose I/
O ports
Resource
General-purpose I/
1
O ports
Resource
CMOS
General-purpose I/
O ports
Resource
General-purpose I/
O ports
Analog input pin
bit7
bit6
bit5
P17
P16
P15
PPG3
PPG2
PPG1
P27
P26
P25
INT7
INT6
INT5
2
2
P37
P36*
/X1A P35*
/X0A
ADTG
P57
P56
P55
AN7
AN6
AN5
bit4
bit3
bit2
bit1
P14
P13
P12
P11
PPG0
IN3
IN2
IN1
P24
P23
P22
P21
INT4
INT3
INT2
INT1
P33
P32
P31
SIN0
SCK0
P44
P43
P42
P41
RX
TX
SOT1
SCK1
P54
P53
P52
P51
AN4
AN3
AN2
AN1
bit0
P10
IN0
P20
INT0
P30
SOT0
P40
SIN1
P50
AN0

Advertisement

Table of Contents
loading

This manual is also suitable for:

F2mc-16lx

Table of Contents