Chapter 5 Programming
©
National Instruments Corporation 5-23 AT-MIO-16X User Manual
Resetting a Single Am9513A Counter/TimerTo 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)} me ans {2 “ra ised
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 sh ifting 1 left three
times.