Appendix D Register-Level Programming
PC-LPM-16/PnP User Manual
D-4
National Instruments Corporation
Command Register 1
Command Register 1 indicates the input channel to be read and the interrupt enable bits.
Address:
Base a 00 (hex)
Type:
Write-only
Word Size:
8-bit
Bit Map:
Bit
Name
Description
7
SCANEN*
Scan Enable Bit—This bit enables or disables
multichannel scanning during data acquisition. The
power-on value is 1. If this bit is cleared, analog
channels MA<3..0> through 0 are sampled
alternately. If this bit is set, a single analog channel
selected by MA<3..0> is sampled during the entire
data acquisition operation. In order to perform single-
channel sampling, the UP/DOWN bit in Command
Register 2 must be clear before setting SCANEN* to
1. To set up a scanning mode, two consecutive
writings of this register are necessary. First, write the
desired valve to the UP/DOWN bit in Command
Register 2 if the UP/DOWN bit is not currently set to
its proper value. Then write MA<3..0> with
SCANEN* set to load the scan counter. Then write
MA<3..0> with SCANEN* cleared to enable
scanning.
For example, if the UP/DOWN bit is 0 and MA<3..0>
is 0011 and SCANEN* is first set, then cleared, analog
input channels 3 through 0 are sampled alternately
during subsequent data conversions. If SCANEN* is
set and is not cleared (with MA<3..0> still set to
0011), only analog input channel 3 is sampled during
the subsequent data conversions.
See the
Programming Multiple A/D Conversions with
section later in this appendix for
more information.
7
6
5
4
3
2
1
0
SCANEN*
CNTINTEN
EXTINTEN
FIFOINTEN
MA3
MA2
MA1
MA0
a.Book : l.Appendix D Page 4 Wednesday, November 20, 1996 6:36 PM
Содержание PC-LPM-16/PnP
Страница 50: ...Appendix B MSM82C53 Data Sheet PC LPM 16 PnP User Manual B 2 National Instruments Corporation ...
Страница 51: ...Appendix B MSM82C53 Data Sheet National Instruments Corporation B 3 PC LPM 16 PnP User Manual ...
Страница 52: ...Appendix B MSM82C53 Data Sheet PC LPM 16 PnP User Manual B 4 National Instruments Corporation ...
Страница 53: ...Appendix B MSM82C53 Data Sheet National Instruments Corporation B 5 PC LPM 16 PnP User Manual ...
Страница 54: ...Appendix B MSM82C53 Data Sheet PC LPM 16 PnP User Manual B 6 National Instruments Corporation ...
Страница 55: ...Appendix B MSM82C53 Data Sheet National Instruments Corporation B 7 PC LPM 16 PnP User Manual ...
Страница 56: ...Appendix B MSM82C53 Data Sheet PC LPM 16 PnP User Manual B 8 National Instruments Corporation ...
Страница 57: ...Appendix B MSM82C53 Data Sheet National Instruments Corporation B 9 PC LPM 16 PnP User Manual ...
Страница 58: ...Appendix B MSM82C53 Data Sheet PC LPM 16 PnP User Manual B 10 National Instruments Corporation ...
Страница 59: ...Appendix B MSM82C53 Data Sheet National Instruments Corporation B 11 PC LPM 16 PnP User Manual ...
Страница 60: ...Appendix B MSM82C53 Data Sheet PC LPM 16 PnP User Manual B 12 National Instruments Corporation ...