Network Card User Manual
Table Of Contents
- PC-DIO-24 User Manual
- Contents
- About This Manual
- Chapter 1 Introduction
- Chapter 2 Configuration and Installation
- Chapter 3 Theory of Operation
- Chapter 4 Register-Level Programming
- Appendix A Specifications
- Appendix B I/O Connector
- Appendix C OKI 82C55A Data Sheet*
- Appendix D Customer Communication
- Glossary
- Index
- Figures
- Figure 1-1. The Relationship between the Programming Environment, NI-DAQ, and Your Hardware
- Figure 2-1. PC-DIO-24 Parts Locator Diagram
- Figure 2-2. Example Base I/O Address Switch Settings
- Figure 2-3. Jumper Settings–PC6, PC4, PC2, and N/C
- Figure 2-4. Interrupt Jumper Setting for IRQ5 (Factory Setting)
- Figure 2-5. Digital I/O Connector Pin Assignments
- Figure 3-1. PC-DIO-24 Block Diagram
- Figure 4-1. Control-Word Formats
- Figure B-1. PC-DIO-24 I/O Connector
- Tables
- Table 2-1. PC-DIO-24 Factory-Set Jumper and Switch Settings
- Table 2-2. Port C Signal Assignments
- Table 4-1. PC-DIO-24 Address Map
- Table 4-2. Port C Set/Reset Control Words
- Table 4-3. Mode 0 I/O Configurations
- Table 4-4. Interrupt Enable Signals for All Mode Combinations
- Table A-1. Maximum Average Transfer Rates for the PC-DIO-24
Contents
PC-DIO-24 User Manual viii © National Instruments Corporation
Chapter 4
Register-Level Programming
......................................................................................... 4-1
Introduction.................................................................................................................... 4-1
82C55A Modes of Operation......................................................................................... 4-1
Mode 0 ............................................................................................................... 4-2
Mode 1 ............................................................................................................... 4-2
Mode 2 ............................................................................................................... 4-2
Single Bit Set/Reset Feature .............................................................................. 4-2
Register Map .................................................................................................................. 4-3
Register Descriptions ..................................................................................................... 4-3
Single Bit Set/Reset Feature .............................................................................. 4-4
Programming Considerations......................................................................................... 4-5
Mode 0–Basic I/O .............................................................................................. 4-5
Mode 0 Programming Example ............................................................. 4-6
Mode 1–Strobed Input ....................................................................................... 4-7
Mode 1 Input Programming Example.................................................... 4-9
Mode 1–Strobed Output..................................................................................... 4-9
Mode 1 Output Programming Example ................................................. 4-11
Mode 2–Bidirectional Bus ................................................................................. 4-12
Mode 2 Programming Example ............................................................. 4-13
Interrupt Programming Examples...................................................................... 4-14
Interrupt Handling.......................................................................................................... 4-15
Appendix A
Specifications
........................................................................................................................ A-1
Appendix B
I/O Connector
....................................................................................................................... B-1
Appendix C
OKI 82C55A Data Sheet
................................................................................................... C-1
Appendix D
Customer Communication
............................................................................................... D-1
Glossary............................................................................................................................ Glossary-1
Index .................................................................................................................................. Index-1