beautypg.com

Counter/timer (msm82c53) register group – National Instruments PC-LPM-16/PnP User Manual

Page 90

background image

Appendix D Register-Level Programming

PC-LPM-16/PnP User Manual

D-18

National Instruments Corporation

Counter/Timer (MSM82C53) Register Group

The five registers making up the Counter/Timer Register Group access
the onboard MSM82C53 counter/timer. The MSM82C53 has three
counters: counter 0, counter 1, and counter 2. Counter 0 controls
onboard data acquisition timing, and all three counters are available for
general-purpose timing functions.

The MSM82C53 has three independent 16-bit counters and one 8-bit
Mode Register. The Mode Register sets the mode of operation for each
of the three counters. Writing to the Timer Interrupt Clear Register
clears the interrupt request asserted when a low pulse is detected on the
output of counter 2.

Bit descriptions for the registers in the Counter/Timer Register Group
are given in the following pages.

a.Book : l.Appendix D Page 18 Wednesday, November 20, 1996 6:36 PM