Port 5 - Fujitsu MB90895 Series Hardware Manual

16 bit, controller manual
Table of Contents

Advertisement

4.7

Port 5

Port 5 is a general-purpose I/O port that also serves as an analog input pin. Use port 5
by switching between the analog input pin and the general-purpose I/O port.
The configuration, pin assignment, block diagram of the pins, and registers for port 5
are shown below.
I Configuration of Port 5
Port 5 consists of the following four elements:
• General-purpose I/O port, analog input pins (P50/AN0 to P57AN7)
• Port 5 data register (PDR5)
• Port 5 direction register (DDR5)
• Analog input enable register (ADER)
I Pins Assignment of Port 5
• The pin is used either as an analog input pin or a general-purpose I/O pin.
• Since port 5 serves as an analog input pin, it cannot be used as a general-purpose I/O port when used as
an analog input pin.
• When using port 5 as an analog input pin, set the pin corresponding to the analog input in the DDR5 as
an input port.
• When using port 5 as a general-purpose I/O port, do not input any analog signal.
CHAPTER 4 I/O PORT
183

Advertisement

Table of Contents
loading

This manual is also suitable for:

F2mc-16lx

Table of Contents