Port 5 - Fujitsu MB90460 Series Hardware Manual

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

9.8

Port 5

Port 5 is a general-purpose I/O port. It can also be used for A/D converter analog input.
The port pins can be switched in units of bits between the I/O port and analog input.
This section focuses on the general I/O port function. It provides the configuration of
port 5, lists its pins, shows a block diagram of the pins, and describes the
corresponding registers.
■ Port 5 Configuration
Port 5 consists of the following:
• General-purpose I/O pins/analog input pins (P50/AN0 to P57/AN7)
• Port 5 data register (PDR5)
• Port 5 data direction register (DDR5)
• Analog input enable register (ADER)
■ Port 5 Pins
The port 5 I/O pins are also used as analog input pins. The pins cannot be used as general-purpose I/O port
pins when they are used for analog input. Similarly, the port 5 I/O pins cannot be used for analog input
when they are used as a general-purpose I/O port. Table 9.8-1 lists the port 5 pins.
Table 9.8-1 Port 5 Pins
Port
Pin
P50/AN0
P51/AN1
P52/AN2
P53/AN3
Port 5
P54/AN4
P55/AN5
P56/AN6
P57/AN7
See "1.7 I/O Circuit Types", for information on the circuit types.
Port function
(single-chip mode)
P50
AN0
P51
AN1
P52
AN2
P53
AN3
General-
purpose I/O
P54
AN4
P55
AN5
P56
AN6
P57
AN7
Resource function
Analog input 0
Analog input 1
Analog input 2
Analog input 3
Analog input 4
Analog input 5
Analog input 6
Analog input 7
CHAPTER 9 I/O PORT
I/O form
Input
Output
Analog/
CMOS
CMOS
Circuit
type
I
193

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb90465 series

Table of Contents