National Instruments PC-DIO-96 User Manual page 9

Digital i/o board for the ibm pc/xt/at
Table of Contents

Advertisement

Contents
Chapter 4
Register-Level Programming
Introduction ................................................................................................................... 4-1
Register Map ................................................................................................................. 4-2
Register Descriptions .................................................................................................... 4-3
Register Description for the 82C55A ................................................................ 4-3
Register Description for the 8253 ..................................................................... 4-4
Register Description for the Interrupt Control Registers .................................. 4-5
Programming Considerations for the 82C55A .............................................................. 4-9
Modes of Operation for the 82C55A ................................................................. 4-9
Mode 0—Basic I/O ........................................................................................... 4-10
Mode 1—Strobed Input ..................................................................................... 4-12
Mode 1—Strobed Output .................................................................................. 4-15
Mode 2—Bidirectional Bus............................................................................... 4-17
Interrupt Programming Examples for the 82C55A ........................................... 4-19
Programming Considerations for the 8253 ................................................................... 4-21
General Information .......................................................................................... 4-21
Interrupt Programming Example for the 8253 .................................................. 4-22
Interrupt Handling ......................................................................................................... 4-28
Appendix A
Specifications
........................................................................................................................ A-1
Appendix B
OKI 82C55A Data Sheet
Appendix C
AMD 8253 Data Sheet
Appendix D
Customer Communication
Glossary
...................................................................................................................... Glossary-1
Index
.................................................................................................................................. Index-1
PC-DIO-96 User Manual
......................................................................................... 4-1
Interrupt Control Register 1 .................................................................. 4-6
Interrupt Control Register 2 .................................................................. 4-8
Mode 0 ................................................................................................... 4-9
Mode 1 ................................................................................................... 4-9
Mode 2 ................................................................................................... 4-10
Single Bit Set/Reset Feature .................................................................. 4-10
Mode 0 Programming Example ............................................................ 4-11
Mode 1 Input Programming Example ................................................... 4-14
Mode 1 Output Programming Example ................................................ 4-16
Mode 2 Programming Example ............................................................ 4-19
.................................................................................................. B-1
....................................................................................................... C-1
.............................................................................................. D-1
vi
© National Instruments Corporation

Advertisement

Table of Contents
loading

Table of Contents