© National Instruments Corporation v 6527 Register-Level Programmer Manual
Contents
About This Manual
How To Use the Manual Set..........................................................................................vii
Conventions ...................................................................................................................viii
Chapter 1
Getting to Know Your 6527
Using Your 6527............................................................................................................1-1
PCI Interface....................................................................................................1-1
General Operation Registers............................................................................1-2
Using the Digital Filtering Option...................................................................1-2
Using the Change Notification Option............................................................1-2
Chapter 2
Register Map and Descriptions
Input Registers (Ports 0–2) ............................................................................................2-3
Output Registers (Ports 3–5)..........................................................................................2-4
ID Register.....................................................................................................................2-5
Clear Register ................................................................................................................2-6
Filter Interval Registers .................................................................................................2-7
Filter Enables (Ports 0–2) ..............................................................................................2-8
Change Status Register ..................................................................................................2-9
Master Interrupt Control Register..................................................................................2-10
Rising-Edge Detection Registers (Ports 0–2) ................................................................2-12
Falling-Edge Detection Registers (Ports 0–2) ...............................................................2-13
Chapter 3
Programming
Common Terms .............................................................................................................3-1
Initializing the PCI Local Bus .......................................................................................3-2
Initializing the PCI for the PC.........................................................................3-2
Example ............................................................................................3-3
Initializing the PCI for the Macintosh (PCI-6527 Only).................................3-4
Example ............................................................................................3-4
Programming the Digital I/O Circuitry..........................................................................3-5
Input.................................................................................................................3-5
Input with Filtering ...........................................................................3-6
Output ..............................................................................................................3-6