![background image](http://html1.mh-extra.com/html/national-instruments/daqcard-dio-24/daqcard-dio-24_user-manual_709163049.webp)
Appendix B
Register-Level Programming
DAQCard-DIO-24 User Manual
B-8
©
National Instruments Corporation
Mode 0 has the following features:
•
Each group contains one 8-bit data port (port A or port B) and
one 4-bit data port (upper or lower nibble of port C).
•
Any port can be input or output.
•
Lines of ports configured for output hold their last state, but lines
of ports configured for input are pulled up when they are allowed
to float.
Mode 1
Mode 1 transfers data that is synchronized by handshaking signals.
Ports A and B use the eight lines of port C to generate or receive the
handshake signals.
Mode 1 has the following features:
•
Each group contains one 8-bit data port (port A or port B) and
one 4-bit control/data port (upper or lower nibble of port C). If
group A is configured in mode 1, it uses the most significant bit,
PC3, of the group B port C lines.
•
The 8-bit data ports can be either input or output; both inputs and
outputs are latched.
•
The 4-bit ports are used for control and status of the 8-bit data ports.
•
Interrupt generation, enable, and disable functions are available.
Mode 2
Mode 2 can be used for communication over an 8-bit bidirectional bus.
Handshaking signals are used in a manner similar to mode 1. Interrupt
generation, enable, and disable functions are also available. Other
features of this mode include the following:
•
These features are available for group A only.
•
One 8-bit bidirectional bus port (port A) and a 5-bit control and
status port (port C) are used.
•
Group A uses the most significant bit, PC3, of the group B port C
lines.
•
Inputs and outputs are latched.
Содержание DAQCard-DIO-24
Страница 68: ...Appendix C OKI 82C55A Data Sheet DAQCard DIO 24 User Manual C 2 National Instruments Corporation ...
Страница 69: ...Appendix C OKI 82C55A Data Sheet National Instruments Corporation C 3 DAQCard DIO 24 User Manual ...
Страница 70: ...Appendix C OKI 82C55A Data Sheet DAQCard DIO 24 User Manual C 4 National Instruments Corporation ...
Страница 71: ...Appendix C OKI 82C55A Data Sheet National Instruments Corporation C 5 DAQCard DIO 24 User Manual ...
Страница 72: ...Appendix C OKI 82C55A Data Sheet DAQCard DIO 24 User Manual C 6 National Instruments Corporation ...
Страница 73: ...Appendix C OKI 82C55A Data Sheet National Instruments Corporation C 7 DAQCard DIO 24 User Manual ...
Страница 74: ...Appendix C OKI 82C55A Data Sheet DAQCard DIO 24 User Manual C 8 National Instruments Corporation ...
Страница 75: ...Appendix C OKI 82C55A Data Sheet National Instruments Corporation C 9 DAQCard DIO 24 User Manual ...
Страница 76: ...Appendix C OKI 82C55A Data Sheet DAQCard DIO 24 User Manual C 10 National Instruments Corporation ...
Страница 77: ...Appendix C OKI 82C55A Data Sheet National Instruments Corporation C 11 DAQCard DIO 24 User Manual ...
Страница 78: ...Appendix C OKI 82C55A Data Sheet DAQCard DIO 24 User Manual C 12 National Instruments Corporation ...
Страница 79: ...Appendix C OKI 82C55A Data Sheet National Instruments Corporation C 13 DAQCard DIO 24 User Manual ...
Страница 80: ...Appendix C OKI 82C55A Data Sheet DAQCard DIO 24 User Manual C 14 National Instruments Corporation ...
Страница 81: ...Appendix C OKI 82C55A Data Sheet National Instruments Corporation C 15 DAQCard DIO 24 User Manual ...
Страница 82: ...Appendix C OKI 82C55A Data Sheet DAQCard DIO 24 User Manual C 16 National Instruments Corporation ...
Страница 83: ...Appendix C OKI 82C55A Data Sheet National Instruments Corporation C 17 DAQCard DIO 24 User Manual ...