Chapter 3: Architecture
50
Latch configuration is a 16-bit word, two bits for each one of eight
sense inputs.
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
F R F R F R F R F R F R F R F R
F: 1 in this position, the inputs are sensitive to falling edge
R: 1 in this position, the inputs are sensitive to rising edge
Table 23: Digital Input Configuration Word
The Edge Detector and Latch Logic detect configured edges on the
digital input lines. A 8-bit latch register has 1 bit per input line. It is set
to “1” when the configured edge is detected. Additionally, the logic
fires an interrupt to the DSP to inform it when the configured
conditions are met.
If you set up a latch configuration to watch for edges on several lines,
the interrupt fires as soon as any of the selected conditions happen.
However, the interrupt will not be re-fired again until the user
application clears the bit. If a change is detected on another line, the
interrupt will re-fire. To recognize which line caused an interrupt you
have to read the digital input status (i.e. latch register).
Содержание PD2-MF
Страница 5: ...Table of Contents iii Index 137 ...
Страница 11: ...1 1 Introduction ...
Страница 18: ......
Страница 19: ...9 2 Installation and Configuration ...
Страница 34: ......
Страница 35: ...25 3 Architecture ...
Страница 63: ...53 4 PowerDAQ Software Development Kit PD SDK ...
Страница 106: ......
Страница 107: ...97 5 Calibration ...
Страница 109: ...99 A Appendix A Specifications ...
Страница 110: ...Appendix A Specifications 100 ...
Страница 112: ......
Страница 113: ...103 B Appendix B Accessories ...
Страница 118: ......
Страница 119: ...109 C Appendix C Application Notes ...
Страница 125: ...115 D Appendix D Warranty ...
Страница 128: ......
Страница 129: ...119 E Appendix E Glossary ...
Страница 152: ......