Toggle mode, trm = 0 -11, Figure 9-8. toggle mode, trm = 0 – Motorola DSP56301 User Manual
Page 273
Operating Modes
Triple Timer Module
9
-11
Figure 9-8. Toggle Mode, TRM = 0
Mode 2 (internal clock): TRM = 0
N = write preload
M = write compare
TE
TLR
TCPR
TCF (Compare Interrupt if TCIE = 1)
first event
M
N
First toggle = M - N clock periods
Second and later toggles = 2
24
clock periods
TIO pin (INV = 0)
TIO pin (INV = 1)
1
Counter (TCR)
0
N
N + 1
M
0
M + 1
TOF (Overflow Interrupt if TCIE = 1)
(CLK/2 or prescale CLK)
Clock