Programming
Chapter 4
AT-DIO-32F User Manual
4-8
© National Instruments Corporation
CFG2 Register
The CFG2 Register contains 16 bits that control the Group 2 I/O mode and the handshaking
mode.
Address:
Base a 02 (hex)
Type:
Write-only
Word Size:
16-bit
Bit Map:
15
14
13
12
11
10
9
8
DMAEN2
INTEN2
T2S2
T2S1
T2S0
DIODEN
DIOCEN
LRESET2
7
6
5
4
3
2
1
0
X
INVRQ2
DBLBUFC
PULSE2
EDGE2
INVACK2
SETACK2
OUT2
Bit
Name
Description
15
DMAEN2
Group 2 DMA Enable Bit.
When DMAEN2 is set, DMA is enabled for Group 2 handshaking.
A DMA request is asserted when DRDY2 is set.
14
INTEN2
Group 2 Interrupt Enable Bit.
When INTEN2 is set, interrupts are enabled for Group 2
handshaking. An interrupt request is asserted when DRDY2 is set.
13-11
T2S<2..0>
Group 2 Data Transmission Delay (TDELAY2) Bit.
These bits select the data-settling delay used by Group 2
handshaking. Long cable lengths or special handshaking
specifications may require a data-settling delay to ensure proper
data transmission.
T2S2
T2S1
T2S0
TDELAY2 (nsec)
0
0
0
0
0
0
1
100
0
1
0
200
0
1
1
300
1
0
0
400
1
0
1
500
1
1
0
600
1
1
1
700
Содержание 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: ......