Port 0 - 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.2

Port 0

Port 0 is a general-purpose I/O port and may also serve as peripheral inputs. The pins of
this port can be used for peripherals or normal port function that can be selected
according to the setting of a bit corresponding to the pin on a specific register.
This section mainly explains the general-purpose I/O function of the port.
This section also describes the structure, pins, and associated registers of port 0 and
provides a block diagram of pins.
Structure of Port 0
Port 0 comprises the following four elements:
General-purpose I/O pins, external interrupt 2, and analog input pins (P00/INT20/AN4 to P07/INT27)
Port 0 data register (PDR0)
Port 0 data direction register (DDR0)
Port 0 pull-up setting register (PUL0)
Pins of Port 0
Port 0 has eight general-purpose I/O pins. When used as input pins at the same time, these pins can be also
used as external interrupt input pins.
Table 4.2-1 lists the pins of port 0.
Table 4.2-1 Pins of Port 0
Port
Pin name
name
P00/INT20/AN4
P01/INT21/AN5
P02/INT22/AN6
P03/INT23/AN7
Port 0
P04/INT24
P05/INT25
P06/INT26
P07/INT27
For circuit type, see Section "1.7 Pin Functions Description " and "1.8 I/O Circuit Types ".
For pin operation when used as analog input, see "CHAPTER 12 A/D CONVERTER ".
78
Peripherals for which a pin
Function
may serve
P00 general-
INT20 : external interrupt input 20
purpose I/O
AN4 : analog input 4
P01 general-
INT21 : external interrupt input 21
purpose I/O
AN5 : analog input 5
P02 general-
INT22 : external interrupt input 22
purpose I/O
AN6 : analog input 6
P03 general-
INT23 : external interrupt input 23
purpose I/O
AN7 : analog input 7
P04 general-
INT24 : external interrupt input 24
purpose I/O
P05 general-
INT25 : external interrupt input 25
purpose I/O
P06 general-
INT26 : external interrupt input 26
purpose I/O
P07 general-
INT27 : external interrupt input 27
purpose I/O
Input and output form
Input
Output
Analog CMOS
hysteresis
CMOS
CMOS
hysteresis
Circuit
type
G
D

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

F2mc-8l mb89202Mb89202/f202ra series

Table of Contents