Command register 1, Command register 1 -5 – National Instruments AT-MIO-16X User Manual

Page 101

Advertising
background image

Chapter 4

Register Map and Descriptions

© National Instruments Corporation

4-5

AT-MIO-16X User Manual

Command Register 1

Command Register 1 contains 11 bits that control AT-MIO-16X serial
device access, and data acquisition mode selection. The contents of this
register are not defined upon power up and are not cleared after a reset
condition. This register should be initialized through software.

Address:

Base address + 00 (hex)

Type:

Write-only

Word Size:

16-bit

Bit Map:

Bit

Name

Description

15

EEPROMCS

EEPROM Chip Select—This bit controls
the chip select of the onboard EEPROM
used to store calibration constants. When
EEPROMCS is set, the chip select signal
to the EEPROM is enabled. Before
EEPROMCS is brought high, SCLK
should first be pulsed high to initialize
the EEPROM circuitry.

14

SDATA

Serial Data—This bit isused to transmit a
single bit of data to the EEPROM and
both of the calibration DACs.

13

SCLK

Serial Clock—A low-to-high transition
of this bit clocks data from SDATA into
the EEPROM (when EEPROMCS is set)
and the calibration DAC. If EEPROMCS
is cleared, toggling SCLK does not affect
the EEPROM. Serial data is always
loaded into the calibration DACs, but the
information is not updated until after the

7

6

5

SCN2

4

3

RTSITRIG

2

0

1

0

0

SCANEN

CNT32/16*

0

0

15

MSB

LSB

14

13

SDATA

12

11

SCANDIV

10

INTGATE

9

8

RETRIG_DIS

EEPROMCS

SCLK

DAQEN

0

Advertising