beautypg.com

Resetting a single am9513a counter/timer, Resetting a single am9513a counter/timer -23 – National Instruments AT-MIO-16X User Manual

Page 192

background image

Chapter 5

Programming

© National Instruments Corporation

5-23

AT-MIO-16X User Manual

Resetting a Single Am9513A Counter/Timer

To reset a particular counter in the Am9513A, use the following
programming sequence. All writes are 16-bit operations. All values
given are hexadecimal. The equation {2 ^ (ctr - 1)} means {2 “raised
to” (ctr - 1)}. If ctr is equal to 4, then 2 ^ (ctr - 1) results in 2 ^ 3, or 2
* 2 * 2, or 8. This result can also be obtained by shifting 1 left three
times.