Pulse Width Modulation Toggle Mode, Trm = 0 - Motorola DSP56303 User Manual

24-bit digital signal processor
Table of Contents

Advertisement

Mode 7 (internal clock): TRM = 0
N = write preload
M = write compare
TE
Clock
(CLK/2 or prescale CLK)
N
TLR
Counter (TCR)
TCPR
TCF (Compare Interrupt if TCIE = 1)
TCF (Overflow Interrupt if TDIE = 1)
TIO pin (INV = 0)
TIO pin (INV = 1)
NOTE: On overflow, TCR is loaded with the value of TLR.
Figure 9-17. Pulse Width Modulation Toggle Mode, TRM = 0
first event
0
N
M
Pulse width
Period
Triple Timer Module
Period = $FFFFFF - TLR + 1
Duty cycle = ($FFFFFF - TCPR)
Ensure that TCPR > TLR for correct functionality
M
M + 1
0
Operating Modes
1
2
9-21

Advertisement

Table of Contents
loading

Table of Contents