Input-Only Ports 1 (Mc, Md Only) And 0 - Intel 8XC196MC User Manual

Table of Contents

Advertisement

8XC196MC, MD, MH USER'S MANUAL
6.2

INPUT-ONLY PORTS 1 (MC, MD ONLY) AND 0

Port 0 is an eight-bit, high-impedance, input-only port that provides analog and digital inputs. The
input-only pins can be read as digital inputs; most of them are also inputs to the A/D converter.
The input-only ports differ from the other standard ports in that their pins can be used only as in-
puts to the digital or analog circuitry. On the 8XC196MC and 8XC196MD, port 1 is an input-only
port that serves the same purpose as port 0. The 8XC196MC implements five pins, while the
8XC196MD implements all eight.
8XC196MH: On the 8XC196MH, port 1 is a standard bidirectional port that shares pins with the
serial I/O port. (See "Bidirectional Ports 1 (MH Only), 2, 5, and 7 (MD Only)" on page 6-4.)
Because port 0 (and port 1 of the 8XC196MC, MD) is permanently configured as an input-only
port, it has no configuration registers. Its single register, Px_PIN, can be read to determine the
current state of the pin. The register is byte-addressable and can be windowed. (See "Windowing"
on page 5-16)
Table 6-2 lists the standard input-only port pins and Table 6-3 describes the Px_PIN status regis-
ter.
Port Pin
P0.5:0
P0.6
P0.7
P1.0 (MC, MD)
P1.1 (MC, MD)
P1.2 (MC, MD)
P1.3 (MC, MD)
P1.4 (MC, MD)
P1.5 (MD)
P1.6 (MD)
P1.7 (MD)
6-2
Table 6-2. Standard Input-only Port Pins
Special-function
Signal(s)
ACH5:0
ACH6
T1CLK (MH)
ACH7
T1DIR (MH)
ACH8
ACH9
ACH10
T1CLK
ACH11
T1DIR
ACH12
ACH13
Get other manuals https://www.bkmanuals.com
Special-function
Signal Type
Input
Input
Input
Input
Input
Input
Input
Input
Input
Input
Input
Input
Input
Associated
Peripheral
A/D converter
A/D converter
EPA
A/D converter
EPA
A/D converter
A/D converter
A/D converter
EPA
A/D converter
EPA
A/D converter
A/D converter

Advertisement

Table of Contents
loading

This manual is also suitable for:

8xc196md8xc196mh

Table of Contents