Instruction manual
Table Of Contents
- INTRODUCTION
- GETTING STARTED
- MAKING THE CONNECTIONS
- USING THE PC215E
- STRUCTURE AND ASSIGNMENTS OF THE REGISTERS
- Register Assignments
- Register Groups
- The Register Details
- Programmable Peripheral Interface PPI-X Data Register Port A
- Programmable Peripheral Interface PPI-X Data Register Port B
- Programmable Peripheral Interface PPI-X Data Register Port C
- Programmable Peripheral Interface PPI-X Command Register
- Programmable Peripheral Interface PPI-Y Data Register Port A
- Programmable Peripheral Interface PPI-Y Data Register Port B
- Programmable Peripheral Interface PPI-Y Data Register Port C
- Programmable Peripheral Interface PPI-Y Command Register
- Z1 Counter 0 Data Register
- Z1 Counter 1 Data Register
- Z1 Counter 2 Data Register
- Counter/Timer Z1 Control Register
- Z1 Counter/Timer Status Register
- Z2 Counter 0 Data Register
- Z2 Counter 1 Data Register
- Z2 Counter 2 Data Register
- Counter/Timer Z2 Control Register
- Z2 Counter/Timer Status Register
- Group Z Clock Connection Register
- Group Z Gate Connection Register
- Interrupt Source Selection Register
- Interrupt Status Register
- PROGRAMMING THE PC215E
- Copyright
- Files installed from the Distribution Diskette
- Windows DLL and Examples
- DOS 'C' Library and Examples
- Using the Dynamic Link Library
- Windows and DOS Library Functions
- Initialisation Functions
- Interrupt Control Functions
- Data Buffer Functions
- Timer/Counter Functions
- Differential Counter Functions
- Frequency Generation Functions
- Millisecond Stopwatch Functions
- Frequency Input and Output Functions
- Digitally- and Voltage-Controlled Oscillator Functions
- Digital Input/Output Functions
- Switch Scanner Matrix Functions
- Bi-Directional Data Bus Functions
- PC215E Library Error Codes
- PC215E Interface Guide For LABTECH NOTEBOOK
- Guide to User Programming
- Signal Centre
- CONTENTS
- DECLARATION OF CONFORMITY

Page
27
PC215E
5.3.3 Programmable Peripheral Interface PPI-X Data Register Port C
This eight bit register writes to and reads from port C of the 82C55 Programmable Peripheral
Interface PPI-X. All input/output lines PC0 to PC7 of this device are available to the user on
connector SK1 as digital I/O.
Register
Offset
Write and/or
Read
Register
Width
Register
Title
Mnemonic
02
16
Write and Read 8 bits
82C55 Programmable Peripheral
Interface X Port C Data Register
PPI-X C
FUNCTION
The PPI-X Port C Data Register is used to write or read 8 bit data to a port of the 82C55
Programmable Peripheral Interface device
The PPI can be configured to operate in several modes. Further details may be found by
reference to the device manufacturer's 82C55 data sheets in the appendices.
The eight data bits of port C are split into two groups, the upper port C bits 4 to 7 and the lower
port C bits 0 to 3. These bits can be data input, data output or control/handshake lines according
to the PPI mode:
Mode Port C Upper Port C Lower
Mode 0 Input or Output Input or Output
Mode 1 Control/Data Control/Data
Mode 2 5 bit Control (PC3 to PC7) 3 bit Control/Data (PC0 to PC2)
With bit 7 'Command Select' set to '0', any of the eight bits of port C can be set or reset using a
single output instruction. When port C is being used as status/control for port A or port B, these
bits can be set or reset using the Bit Set/Reset operation just as if they were data output ports.
The modes and programming of PPI operations are outlined in chapters 4 and 6 with the Digital
I/O connections shown in chapter 3.
BIT ASSIGNMENTS
The bit layout of the PPI-X Port C data register is shown below.
01234567
PPI-X Port C Upper
Byte Data Bits
PPI-X Port C Lower
Byte Data Bits
SK1 Pin
Connections
SK1 44
SK1 5
SK1 63
SK1 24
SK1 4
SK1 62
SK1 23
SK1 42
PC0
PC1
PC2
PC3
PC4
PC5
PC6
PC7