
© National Instruments Corporation
4-1
AT-MIO-16D User Manual
Chapter 4
Programming
This chapter discusses the programming of the AT-MIO-16D. Included in this chapter are the
AT-MIO-16D register address map, a detailed register description, and a functional
programming description.
Note: If you plan to use a programming software package such as NI-DAQ for DOS/Windows
or LabWindows with your AT-MIO-16D board, you need not read this chapter.
However, you will gain added insight into your AT-MIO-16D board by reading this
chapter.
Register Map
The register map for the AT-MIO-16D is shown in Table 4-1. This table gives the register name,
the register offset address, the size of the register in bits, and the type of the register (read-only,
write-only, or read-and-write). The actual register address is computed by adding the individual
offset address to the board base address.
Table 4-1. AT-MIO-16D Register Map
Register Name
OffSet Address
(Hex)
Type
Size
Configuration and Status Register Group:
Command Register 1
0
Write-only
16-bit
Status Register
0
Read-only
16-bit
Command Register 2
2
Write-only
16-bit
Event Strobe Register Group:
Start Convert Register
8
Write-only
16-bit
Start DAQ Register
A
Write-only
16-bit
A/D Clear Register
C
Write-only
16-bit
External Strobe Register
E
Write-only
16-bit
Analog Output Register Group:
DAC0 Register
10
Write-only
16-bit
DAC1 Register
12
Write-only
16-bit
INT2CLR Register
14
Write-only
16-bit
(continues)
Summary of Contents for AT-MIO-16D
Page 16: ......
Page 23: ......
Page 185: ......
Page 206: ......
Page 207: ......
Page 208: ......
Page 209: ......
Page 210: ......
Page 211: ......
Page 212: ......
Page 213: ......
Page 214: ......
Page 215: ......
Page 216: ......
Page 217: ......
Page 218: ......
Page 219: ......
Page 220: ......
Page 221: ......
Page 222: ......
Page 223: ......
Page 224: ......
Page 225: ......
Page 226: ......
Page 227: ......
Page 228: ......
Page 229: ......
Page 230: ......
Page 231: ......
Page 232: ......
Page 233: ......
Page 234: ......
Page 235: ......
Page 236: ......
Page 237: ......
Page 238: ......
Page 239: ......
Page 240: ......
Page 241: ......
Page 242: ......
Page 243: ......
Page 244: ......
Page 246: ......
Page 247: ......
Page 248: ......
Page 249: ......
Page 250: ......
Page 251: ......
Page 252: ......
Page 253: ......
Page 254: ......
Page 255: ......
Page 256: ......
Page 257: ......
Page 258: ......
Page 259: ......
Page 260: ......
Page 261: ......