Programming
Chapter 4
AT-DIO-32F User Manual
4-34
© National Instruments Corporation
Bit
Name
Description (continued)
5-4
RWSEL<1..0>
The Counter Latch command latches the current count of the
register selected by CNTRSEL1 and CNTRSEL0. The next read
from the selected counter returns the latched data.
3-1
MODESEL<2..0>
Counter Mode Select Bits.
These bits select the counting mode of the selected counter. The
following table lists six available modes and the corresponding bit
settings. Refer to Appendix D, Intel Data Sheet, for additional
information.
MODESEL2 MODESEL1
MODESEL0
Mode
0
0
0
Mode 0 – Interrupt
on Terminal Count
0
0
1
Mode 1 – Hardware
Retriggerable One
Shot
0
1
0
Mode 2 – Rate
Generator
0
1
1
Mode 3 – Square
Wave Mode
1
0
0
Mode 4 – Software
Retriggerable
Strobe
1
0
1
Mode 5 – Hardware
Retriggerable
Strobe
0
BCDSEL
Binary Coded Decimal Select Bit.
If BCDSEL is set, the selected counter keeps count in BCD. If
BCDSEL is cleared, the selected counter keeps count in 16-bit
binary.
Содержание AT-DIO-32F
Страница 19: ......
Страница 101: ......
Страница 102: ......
Страница 123: ......
Страница 124: ......
Страница 125: ......
Страница 126: ......
Страница 127: ......
Страница 128: ......
Страница 129: ......
Страница 130: ......
Страница 131: ......
Страница 132: ......
Страница 133: ......
Страница 134: ......
Страница 135: ......
Страница 136: ......
Страница 137: ......
Страница 138: ......
Страница 139: ......
Страница 140: ......
Страница 141: ......
Страница 142: ......
Страница 143: ......