Port 5 - Fujitsu F2MC-8L MB89620 Series Hardware Manual

8-bit microcontroller
Table of Contents

Advertisement

6
4.

Port 5

Port 5 is an output-only port that also serves as an analog input. Each pin can be
switched between analog input and port operation in bit units. This section principally
describes the port functions when operating as an output-only port.
The section describes the port structure and pins, the pin block diagram, and the port
register for port 5.
n Structure of Port 5
Port 5 consists of the following two components:
Output-only pins/analog input pins (P50/AN0 to P57/AN7)
Port 5 data register (PDR5)
n Port 5 Pins
Port 5 consists of eight output pins of an N-ch open-drain output type.
Do not use these pins as output ports when the pins are used as the analog input for the A/D
converter.
Table 4.6a lists the port 5 pins.
Table 4.6a Port 5 Pin
Port
Port 5
References: • See Section 1.7, "I/O Pins and Pin Functions" for a description of the circuit type.
108
CHAPTER 4 I/O PORTS
Pin name
Function
P50/AN0
P50 Output-only
P51/AN1
P51 Output-only
P52/AN2
P52 Output-only
P53/AN3
P53 Output-only
P54/AN4
P54 Output-only
P55/AN5
P55 Output-only
P56/AN6
P56 Output-only
P57/AN7
P57 Output-only
• See Chapter 13, "A/D Converter" for details of pin operation when used as an analog input.
Shared peripheral
AN0 Analog input 0
AN1 Analog input 1
AN2 Analog input 2
AN3 Analog input 3
AN4 Analog input 4
AN5 Analog input 5
AN6 Analog input 6
AN7 Analog input 7
I/O type
Circuit
Input
Output
N-ch
Analog
open-drain
MB89620 series
type
H

Advertisement

Table of Contents
loading

Table of Contents