Appendix D
Register Map and Descriptions
© National Instruments Corporation
D-11
Lab-PC+ User Manual
Command Register 3
The Command Register 3 contains six bits that enable and disable the interrupts and DMA
operation.
Address:
Base a 02 (hex)
Type:
Write-only
Word Size:
8-bit
Bit Map:
7
6
5
4
3
2
1
0
X
X
FIFOINTEN
ERRINTEN CNTINTEN
TCINTEN
DIOINTEN
DMAEN
Bit
Name
Description
7-6
X
Don't care bits.
5
FIFOINTEN
This bit enables and disables the generation of an interrupt when
A/D conversion results are available. If FIFOINTEN is set, an
interrupt is generated whenever an A/D conversion is available to
be read from the FIFO.
4
ERRINTEN
This bit enables and disables the generation of an interrupt when an
A/D error condition is detected. If an A/D error condition occurs,
either OVERFLOW or OVERRUN is set in the Status Register.
The interrupt is serviced by writing to the A/D Clear Register. If
ERRINTEN is cleared, no error interrupts are generated.
3
CNTINTEN
This bit enables the Counter A2 output or the EXTUPDATE*
signal to cause interrupts. If this bit is set, an interrupt occurs
when either EXTUPDATE* or Counter A2 output makes a low-to-
high transition. This interrupt is cleared by writing to the Timer
Interrupt Clear Register. This interrupt allows waveform
generation on the analog output because the same signal that sets
the interrupt also updates the DAC output if the corresponding
LDAC bit in Command Register 2 is set. If this bit is cleared,
interrupts from EXTUPDATE* and Counter A2 output are
ignored.
2
TCINTEN
This bit enables and disables the generation of an interrupt when a
DMA terminal count pulse is received. If TCINTEN is set, an
interrupt request is generated when the DMA Controller Transfer
Count Register decrements from 0 to FFFF (hex). The interrupt is
serviced by writing to the DMATCINT Clear Register.
Summary of Contents for Low-Cost Multifunction I/O Board for ISA...
Page 89: ......
Page 90: ......
Page 91: ......
Page 92: ......
Page 93: ......
Page 94: ......
Page 95: ......
Page 96: ......
Page 97: ......
Page 98: ......
Page 99: ......
Page 101: ......
Page 102: ......
Page 103: ......
Page 104: ......
Page 105: ......
Page 106: ......
Page 107: ......
Page 108: ......
Page 109: ......
Page 110: ......
Page 111: ......
Page 112: ......
Page 113: ......
Page 114: ......
Page 115: ......
Page 116: ......