Overview Of I/O Ports; Functions Of I/O Ports - Fujitsu F2MC-8L F202RA Hardware Manual

F2mc-8l 8-bit microcontroller
Hide thumbs Also See for F2MC-8L F202RA:
Table of Contents

Advertisement

CHAPTER 4 I/O PORTS
4.1

Overview of I/O Ports

Six I/O ports (comprising 26 pins) are available as general-purpose I/O ports (parallel I/O
ports).
These ports also serve peripherals (as I/O pins for specific peripheral functions).

Functions of I/O Ports

The I/O ports function to output data from the CPU to I/O pins via their port data register (PDR) and send
signals input to I/O pins to the CPU. For some ports, the I/O direction of I/O pins can be set by optionally
setting the bits of the port data direction register (DDR), with the bits corresponding to the pins.
The functions of the ports and peripherals for which the ports may serve are summarized below.
Port 0: General-purpose I/O port may also serve peripherals (external interrupt 2 and analog input pins)
Port 3: General-purpose I/O port may also serve peripherals (12-bit PPG, external interrupt 1, UART, 8-
Port 4: General-purpose I/O port of a type switched between CMOS push-pull and N-ch open-drain may
Port 5: General-purpose I/O port may also serve peripherals (8-bit PWM pin)
Port 6: General-purpose I/O port (for MB89F202/F202RA, P61, P60 are input port)
Port 7: General-purpose I/O port
Table 4.1-1 lists the functions of the ports, and Table 4.1-2 lists the register of ports.
Table 4.1-1 Functions of Ports
Port
Pin name
name
P00/INT20/
Port 0
AN4 to
P07/INT27
P30/UCK/SCK
Port 3
to
P37/BZ/PPG
P40/AN0
Port 4
to
P43/AN3
Port 5
P50/PWM
P60,
Port 6
P61
Port 7
P70
to
P72
76
bit serial I/O, 8/16-bit timers, and buzzer output pin)
also serve peripherals (analog input pins)
Input
Output
bit7
form
form
P07
Hysteresis
CMOS
INT27
analog
CMOS
push-pull
P37
CMOS
BZ/
hysteresis
PPG
CMOS
CMOS
push-pull
analog
or N-ch
open-drain
CMOS
CMOS
hysteresis
push-pull
CMOS
CMOS
push-pull
hysteresis
or N-ch
open-drain
CMOS
CMOS
bit6
bit5
bit4
P06
P05
P04
INT26
INT25
INT24
P36
P35
P34
TO/
INT12
INT11
INT10
-
-
-
-
-
-
-
-
-
-
-
-
bit3
bit2
bit1
P03
P02
AN7
AN6
AN5
INT23
INT22
INT21
P33
P32
EC
UI/SI
UO/SO
P43
P42
-
AN3
AN2
AN1
-
-
-
-
-
-
-
-
P72
bit0
P01
P00
AN4
INT20
P31
P30
UCK/
SCK
P41
P40
AN0
P50
-
PWM
P61
P60
-
-
P71
P70

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

F2mc-8l mb89202Mb89202/f202ra series

Table of Contents