© 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)
Содержание 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: ......