Sensoray 826 User Manual
Page 51
Register
Value
Mode
0x00000000
Preload0
0x00000000
Periodic Timer
Periodically capture snapshots.
Register
Value
Mode
0x00402020
Snapshot Configuration
0x00000004
Preload0
Period in µs
Delay Timer
Call S826_CounterPreload to start the timer, then S826_CounterSnapshotRead to wait for the delay time to elapse.
Register
Value
Mode
0x00400520
Snapshot Configuration
0x00000004
Preload0
Delay in µs
Frequency Measurement
Measure frequency by counting clocks applied to the ClkA input for one second intervals. At the end of each interval, a
snapshot is captured and the next measurement begins automatically. The snapshot counts indicate measured frequency
in Hz.
Register
Value
Mode
0x00008009
Snapshot Configuration
0x00000010
Preload0
0x00000000
Period Measurement
Measure the period of a signal applied to the IX input by counting internal clocks during one input cycle. At the end of
each cycle, a snapshot is captured and the next measurement begins automatically. The snapshot counts indicate
measured period in µs.
Register
Value
Mode
0x00008020
Snapshot Configuration
0x00000010
Preload0
0x00000000
Pulse Width Measurement
Measure the width of pulses applied to the IX input by counting internal clocks during one pulse. At the end of each
pulse, a snapshot is captured and the next measurement begins automatically. The snapshot counts will indicate the
measured pulse width in µs.
826 Instruction Manual
46
Counters