©
National Instruments Corporation
3-1
6527 Register-Level Programmer Manual
3
Programming
This chapter contains programming instructions for operating the circuitry on your
6527 device. Most of the instructions given in this chapter are language independent. In other
words, the steps tell you to read or write a given register or to detect if a given bit is set or
cleared without presenting the actual code. You can modify the instructions into a practical
solution to fit your needs.
Programming your 6527 device involves writing to and reading from registers on the device.
Registers are listed in Chapter 2,
Note
In this chapter, all numbers preceded by 0x are hexadecimal.
Common Terms
The following list of terms are commonly used in programming examples:
Port 0
Address of Port 0 Register
(Base A 0x00)
Port 1
Address of Port 1 Register
(Base A 0x01)
Port 2
Address of Port 2 Register
(Base A 0x02)
Port 3
Address of Port 3 Register
(Base A 0x03)
Port 4
Address of Port 4 Register
(Base A 0x04)
Port 5
Address of Port 5 Register
(Base A 0x05)
ID
Address of ID Register
(Base A 0x06)
Clear Register
Address of Clear Register
(Base A 0x07)
Filter Interval
Address of Filter Interval Registers
(Base A 0x08)