6 timer compare register (tcpr), 7 timer count register (tcr), Timer compare register (tcpr) -34 – Motorola DSP56301 User Manual
Page 296: Timer count register (tcr) -34
Triple Timer Module Programming Model
9
-34
DSP56301 User’s Manual
9.4.6
Timer Compare Register (TCPR)
The TCPR is a 24-bit read/write register that contains the value to be compared to the counter
value. These two values are compared every timer clock after TCSR[TE] is set. When the
values match, the timer compare flag bit is set and an interrupt is generated if interrupts are
enabled (that is, the timer compare interrupt enable bit in the TCSR is set). The TCPR is
ignored in measurement modes.
9.4.7
Timer Count Register (TCR)
The TCR is a 24-bit read-only register. In timer and watchdog modes, the contents of the
counter can be read at any time from the TCR register. In measurement modes, the TCR is
loaded with the current value of the counter on the appropriate edge of the input signal, and its
value can be read to determine the width, period, or delay of the leading edge of the input
signal. When the timer is in measurement mode, the
TIO
signal is used for the input signal.