I/O Ports Overview - Intel 8XC196NP User Manual

Table of Contents

Advertisement

I/O ports provide a mechanism to transfer information between the device and the surrounding
system circuitry. They can read system status, monitor system operation, output device status,
configure system options, generate control signals, provide serial communication, and so on.
Their usefulness in an application is limited only by the number of I/O pins available and the
imagination of the engineer.
7.1

I/O PORTS OVERVIEW

Standard I/O port registers are located in the SFR address space and they can be windowed. Mem-
ory-mapped I/O port registers are located in memory-mapped address space. Memory-mapped
registers must be accessed with indirect or indexed addressing; they cannot be windowed. All
ports can provide low-speed input/output pins or serve alternate functions. Table 7-1 provides an
overview of the device I/O ports. The remainder of this chapter describes the ports in more detail
and explains how to configure the pins. The chapters that cover the associated peripherals discuss
using the pins for their special functions.
Port
Bits
Port 1
8
Port 2
8
Port 3
8
Port 4
4
EPORT
4
7.2
BIDIRECTIONAL PORTS 1–4
The bidirectional ports are very similar in both circuitry and configuration. All ports use Schmitt-
triggered input buffers for improved noise immunity. Table 7-2 lists the bidirectional port pins
with their special-function signals and associated peripherals.
Table 7-1. Device I/O Ports
Type
Standard
Bidirectional
Standard
Bidirectional
Standard
Bidirectional
Standard
Bidirectional
Memory mapped (NP)
Bidirectional
Standard (NU)
Direction
Associated Peripheral(s)
EPA and timers
SIO, interrupts, bus control, clock gen.
Chip-select unit, interrupts
PWM
Extended address lines
CHAPTER 7
I/O PORTS
7-1

Advertisement

Table of Contents
loading

This manual is also suitable for:

80c196nu

Table of Contents