Port 4 - 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.4

Port 4

Port 4 is a type of I/O port that is switched between CMOS push-pull and N-ch open-
drain and may also serve analog inputs. Each pin of this port can be used for
peripherals or normal port function that can be selected according to the setting of the
bit corresponding to the pin on a specific register.
This section explains the I/O port function of CMOS push-pull/ N-ch open-drain type.
This section also describes port 4 concerning to the structure, pins, a block diagram of
pins, and associated registers.
Structure of Port 4
Port 4 comprises the following four elements:
Type of I/O pins that are switched between CMOS push-pull and N-ch open-drain and analog input pins
(P40/AN0 to P43/AN3)
Port 4 data register (PDR4)
Port 4 data direction register (DDR4)
Port 4 output format setting register (OUT4)
Pins of Port 4
Port 4 has four I/O pins of CMOS push-pull/N-ch open-drain.
These pins can also be used as analog input pins.
Those pins that are used for analog inputs cannot be used as a general-purpose I/O port. Table 4.4-1 lists
the pins of port 4.
Table 4.4-1 Pins of Port 4
Port
name
Port 4
For circuit type, see Section "1.7 Pin Functions Description " and "1.8 I/O Circuit Types ".
90
Pin
Function
name
P40/AN0
P40 I/O
P41/AN1
P41 I/O
P42/AN2
P42 I/O
P43/AN3
P43 I/O
Peripherals for
Input and output form
which the pin
Input
may serve
AN0 analog input 0
AN1 analog input 1
CMOS
analog
AN2 analog input 2
AN3 analog input 3
Circuit
type
Output
CMOS push-
pull/N-ch open-
F
drain

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

F2mc-8l mb89202Mb89202/f202ra series

Table of Contents