Chapter 4
Programming
© National Instruments Corporation
4-5
AT-DIO-32F User Manual
CFG1 Register
The CFG1 Register contains 16 bits that control the Group 1 I/O mode, handshaking mode, and
interrupt and DMA operations.
Address:
Base a 00 (hex)
Type:
Write-only
Word Size:
16-bit
Bit Map:
15
14
13
12
11
10
9
8
DMAEN1
INTEN1
T1S2
T1S1
T1S0
DIOBEN
DIOAEN
LRESET1
7
6
5
4
3
2
1
0
X
INVRQ1
DBLBUFA
PULSE1
EDGE1
INVACK1
SETACK1
OUT1
Bit
Name
Description
15
DMAEN1
Group 1 DMA Enable Bit.
When DMAEN1 is set, DMA is enabled for Group 1 handshaking.
A DMA request is asserted when DRDY1 is set.
14
INTEN1
Group 1 Interrupt Enable Bit.
When INTEN1 is set, interrupts are enabled for Group 1
handshaking. An interrupt request is asserted when DRDY1 is set.
13-11
T1S<2..0>
Group 1 Data Transmission Delay (TDELAY1) Bits.
These bits select the data-settling delay used by Group 1
handshaking. Long cable lengths or special handshaking
specifications may require a data-settling delay to ensure proper
data transmission.
T1S2
T1S1
T1S0
TDELAY1 (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: ......