Programming
Chapter 4
AT-MIO-16D User Manual
4-6
© National Instruments Corporation
Status Register
The Status Register contains 16 bits of AT-MIO-16D hardware status information, including
interrupt and analog input status.
Address:
Base a 0 (hex)
Type:
Read-only
Word Size:
16-bit
Bit Map:
15
14
13
12
11
10
9
8
GINT
DAQSTOPINT
CONVAVAIL OUT2INT DAQPROG DMATCINT
OVERFLOW
OVERRUN
7
6
5
4
3
2
1
0
GAIN1
GAIN0
DMACH
MUX1EN
MUX0EN
MA2
MA1
MA0
Bit
Name
Description
15
GINT
This bit reflects the overall state of interrupts generated by the
MIO-16 circuitry on the AT-MIO-16D board. If GINT is set, the
AT-MIO-16D is asserting an interrupt request on the MIO-16
interrupt that has not yet been serviced. If GINT is cleared, no
MIO-16 interrupt is pending. This bit is normally cleared.
14
DAQSTOPINT
This bit reflects the status of the data acquisition termination
interrupt. If DAQSTOPINT is set and either OVERFLOW or
OVERRUN is set, the current interrupt is due to an error condition.
If DAQSTOPINT is set and neither OVERFLOW nor OVERRUN
is set, the current interrupt is due to the completion of the data
acquisition operation. DAQSTOPINT is cleared by writing to the
A/D Clear Register.
13
CONVAVAIL
This bit reflects the state of the A/D FIFO. If CONVAVAIL is set,
one or more A/D conversion results are available to be read from
the A/D FIFO. If conversion interrupts are enabled (CONVINTEN
is set) and CONVAVAIL is set, the current interrupt indicates that
A/D conversion data is available in the A/D FIFO. If
CONVAVAIL is cleared, the A/D FIFO is empty and no
conversion interrupt request is asserted.
12
OUT2INT
This bit reflects the status of the OUT2INT interrupt. OUT2INT is
cleared by writing to the INT2CLR Register. OUT2INT is set
whenever a rising edge on OUT2 is detected; this condition
generates an interrupt request only if the INT2EN bit in Command
Register 2 is set.
Содержание AT-MIO-16D
Страница 16: ......
Страница 23: ......
Страница 185: ......
Страница 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: ......
Страница 239: ......
Страница 240: ......
Страница 241: ......
Страница 242: ......
Страница 243: ......
Страница 244: ......
Страница 246: ......
Страница 247: ......
Страница 248: ......
Страница 249: ......
Страница 250: ......
Страница 251: ......
Страница 252: ......
Страница 253: ......
Страница 254: ......
Страница 255: ......
Страница 256: ......
Страница 257: ......
Страница 258: ......
Страница 259: ......
Страница 260: ......
Страница 261: ......