Overview Of I/O Port - Fujitsu MB90460 Series Hardware Manual

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

CHAPTER 9 I/O PORT
9.1

Overview of I/O Port

An I/O port can be used as a general-purpose I/O port (parallel I/O port). The MB90460/
465 series has 7 ports (51 lines). The ports are also used for resource I/O pins
(peripheral function I/O pins).
■ I/O Port Functions
Each I/O port outputs data from the CPU to the I/O pins or inputs signals from the I/O pins to the CPU as
directed by the port data register (PDR). Each I/O port can also designate the direction of a data flow
(input or output) at the I/O pins in bit units using the port data direction register (DDR). The function of
each port and the resources using it are described below:
• Port 0: General-purpose I/O port/resource (Waveform sequencer*/PWC0*)
• Port1: General-purpose I/O port/resource (External interrupt/Waveform
• Port 2: General-purpose I/O port/resource (16-bit reload timer/PWC1/Input capture)
• Port 3: General-purpose I/O port/resource (Waveform generator/PPG1*/PPG0)
• Port 4: General-purpose I/O port/resource (UART0/Waveform sequencer*/PPG2)
• Port 5: General-purpose I/O port/resource (A/D converter)
• Port6: General-purpose I/O port/resource (UART1/External interrupt)
Table 9.1-1 summarizes the functions of individual port.
Table 9.1-1 Functions of Individual Port
Output
Port
Pin
Input form
form
P00/OPT0
Port 0
to P07/
CMOS
PWO0
CMOS
pull-up
resistor
P10/INT0/
selectable
Port 1
DTT0 to
P17/FRCK
CMOS
(hysteresis)
P20/TIN1
Port 2
to P27/IN3
P30/RT00
Port 3
CMOS
CMOS
to P37/PPG0
P40/SIN
CMOS
Port 4
to P46/PPG2
(hysteresis)
P50/AN0
Analog/
Port 5
CMOS
to P57/AN7
CMOS
P60/SIN1
CMOS
Port 6
CMOS
to P63/INT7
(hysteresis)
*: Pin names not applicable to MB90465 series
164
sequencer*/Waveform generator/16-bit reload timer 0)
bit
bit
bit
Function
15
14
13
General
I/O port
Resource
General
P17
P16
P15
I/O port
INT6/
INT5/
Resource
FRCK
TO0
TIN0
General
I/O port
Resource
General
P37
P36
P35
I/O port
Resource
PPG0 PPG1* RTO5 RTO4 RTO3
General
I/O port
Resource
General
P57
P56
P55
I/O port
Analog
AN7
AN6
AN5
input
General
I/O port
Resource
bit
bit
bit
bit9
bit8
12
11
10
P14
P13
P12
P11
P10
INT2/
INT0/
INT4
INT3
INT1
DTTI1*
DTTI0
P34
P33
P32
P31
P30
RTO2
RTO1 RTO0
P54
P53
P52
P51
P50
AN4
AN3
AN2
AN1
AN0
bit7
bit6
bit5
bit4
bit3
P07
P06
P05
P04
P03
PWO0* PWI0* OPT5* OPT4* OPT3* OPT2* OPT1* OPT0*
P27
P26
P25
P24
P23
IN3
IN2
IN1
IN0
PWO1 PWI1
P46
P45
P44
P43
PPG2 SNI2* SNI1* SNI0* SCK0 SOT0 SIN0
P63
INT7 SCK1 SOT1 SIN1
bit2
bit1
bit0
P02
P01
P00
P22
P21
P20
TO1
TIN1
P42
P41
P40
P62
P61
P60

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb90465 series

Table of Contents