National Instruments PC-DIO-24 User Manual page 7

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

Advertisement

Contents
Chapter 4
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 1-Strobed Input ....................................................................................... 4-7
Mode 1-Strobed Output ..................................................................................... 4-9
Mode 2-Bidirectional Bus ................................................................................. 4-12
Interrupt Programming Examples ...................................................................... 4-14
Interrupt Handling .......................................................................................................... 4-15
Appendix C
Appendix D
PC-DIO-24 User Manual
......................................................................................... 4-1
Mode 0 Programming Example ............................................................. 4-6
Mode 1 Input Programming Example.................................................... 4-9
Mode 1 Output Programming Example ................................................. 4-11
Mode 2 Programming Example ............................................................. 4-13
viii
© National Instruments Corporation

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents