Chapter 5
Programming
© National Instruments Corporation
5-3
AT-MIO-64F-5 User Manual
Write 0xFFFF to the Am9513A
Command Register
Write 0xFFEF to the Am9513A
Command Register
Write 0xFF17 to the Am9513A
Command Register
Write 0xF000 to the Am9513A
Data Register
Write
ctr
to the
Am9513A Command Register
Write 0x0004 to the Am9513A
Data Register
Write
ctr
to the
Am9513A Command Register
Write 0x0003 to the Am9513A
Data Register
Write 0xFF5F to the Am9513A
Command Register
ctr
= 1
?
ctr
= 6 ?
END
START
No
Yes
Issue a master reset operation
Enable 16-bit access mode
Point to the master mode register
Load the master mode value
Point to the counter mode register
Store the counter mode value
Point to the counter load register
Store an inactive count value
Load all counters
Increment Ctr
Figure 5-1. Initializing the Am9513A Counter/Timer
Summary of Contents for AT-MIO-64F-5
Page 13: ......
Page 16: ......
Page 200: ......
Page 201: ......
Page 202: ......
Page 203: ......
Page 204: ......
Page 205: ......
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: ......