Chapter 5
Programming
© National Instruments Corporation
5-27
AT-MIO-64F-5 User Manual
Programming the Am9513A Counter/Timer
Counters 1, 2, and 5 of the Am9513A Counter/Timer are available for general-purpose timing
applications. The programmable frequency output pin FOUT is also available as a timing signal
source. These applications and a general description of the Am9513A Counter/Timer are
included in the
Data Acquisition and Analog Output Timing Connections
section in Chapter 2,
Configuration and Installation
. The
Timing I/O Circuitry
section in Chapter 3,
Theory of
Operation
, explains how the Am9513A is used on the AT-MIO-64F-5 board.
Initialization of the Am9513A as required by the AT-MIO-64F-5 and specific programming
requirements for the sample-interval and sample counters are given earlier in this chapter. For
general programming details for Counters 1, 2 and 5, and the programmable frequency output,
refer to Appendix E,
AMD Am9513A Data Sheet
.
In programming the Master Mode Register, keep the following considerations in mind:
¥
The Am9513A must be used in 16-bit bus mode.
¥
The scaler control should be set to BCD division for correct operation of the clocks as
described in the
Initializing the Am9513A
section earlier in this chapter.
RTSI Bus Trigger Line Programming Considerations
The RTSI switch connects signals on the AT-MIO-64F-5 to the seven RTSI bus trigger lines.
The RTSI switch has seven pins labeled A<6..0> connected to AT-MIO-64F-5 signals and seven
pins labeled B<6..0> connected to the seven RTSI bus trigger lines. Table 5-2 shows the signals
connected to each pin.
Содержание AT-MIO-64F-5
Страница 13: ......
Страница 16: ......
Страница 200: ......
Страница 201: ......
Страница 202: ......
Страница 203: ......
Страница 204: ......
Страница 205: ......
Страница 206: ......
Страница 207: ......
Страница 208: ......
Страница 209: ......
Страница 210: ......
Страница 211: ......
Страница 212: ......
Страница 213: ......
Страница 214: ......
Страница 215: ......
Страница 216: ......
Страница 217: ......
Страница 218: ......
Страница 219: ......
Страница 220: ......
Страница 221: ......
Страница 222: ......
Страница 223: ......
Страница 224: ......
Страница 225: ......
Страница 226: ......
Страница 227: ......
Страница 228: ......
Страница 229: ......
Страница 230: ......
Страница 231: ......
Страница 232: ......
Страница 233: ......
Страница 234: ......
Страница 235: ......
Страница 236: ......
Страница 237: ......
Страница 238: ......