Port 2 - Fujitsu MB90460 Series Hardware Manual

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

CHAPTER 9 I/O PORT
9.5

Port 2

Port 2 is a general-purpose I/O port. It can also be used for resource I/O. The port pins
can be switched in units of bits between the I/O port and the resource. This section
focuses on the general I/O port function. This section also provides the configuration of
port 2, lists its pins, shows a block diagram of the pins, and describes the
corresponding registers.
■ Port 2 Configuration
Port 2 consists of the following:
• General-purpose I/O pins/resource I/O pins (P20/TIN1 to P27/IN3)
• Port 2 data register (PDR2)
• Port 2 data direction register (DDR2)
■ Port 2 Pins
The port 2 I/O pins are also used as resource I/O pins. The pins cannot be used as general-purpose I/O port
pins when they are used as resource I/O pins. Table 9.5-1 lists the port 2 pins.
Table 9.5-1 Port 2 Pins
Port
Pin
P20/TIN1
P20
P21/TO1
P21
P22/PWI1
P22
P23/PWO1
P23
Port 2
P24/IN0
P24
P25/IN1
P25
P26/IN2
P26
P27/IN3
P27
See "1.7 I/O Circuit Types", for information on the circuit types.
178
Port function
TIN1
TO1
PWI1
PWO1
General-
purpose I/O
IN0
IN1
IN2
IN3
Resource function
16-bit reload timer 1input
16-bit reload timer 1 output
PWC1 input
PWC1 output
Input capture channel 0 input
Input capture channel 1 input
Input capture channel 2 input
Input capture channel 3 input
I/O form
Input
Output
CMOS
CMOS
(hysteresis)
Circuit
type
F

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb90465 series

Table of Contents