Operating Modes
Triple Timer Module
9
-15
Figure 9-11. Pulse Width Measurement Mode, TRM = 1
Figure 9-12. Pulse Width Measurement Mode, TRM = 0
Mode 4 (internal clock): TRM = 1
N = write preload
M = write compare
TE
Clock
(CLK/2 or prescale CLK)
TLR
TCR
Counter
first event
M
0
N
N + 1
M
N + 1
N
Interrupt Service
reads TCR; width
NOTE: If INV = 1, a 1-to-0 edge on TIO loads the counter, and a 0-to-1 edge on TIO
TCF (Compare Interrupt if TCIE = 1)
TIO pin
width being measured
stops the counter and loads TCR with the count.
= M - N clock
periods
Next 0-to-1 edge
on TIO loads
counter and
process repeats
Mode 4 (internal clock): TRM = 1
N = write preload
M = write compare
TE
Clock
(CLK/2 or prescale CLK)
TLR
TCR
Counter
first event
M
0
N
N + 1
M
N + 1
N
Interrupt Service
reads TCR for
NOTE: If INV = 1, a 1-to-0 edge on TIO loads the counter, and a 0-to-1 edge on TIO
TCF (Compare Interrupt if TCIE = 1)
TIO pin
width being measured
stops the counter and loads TCR with the count.
accumulated width
of M - N clock periods.
Next 0-to-1 edge
on TIO starts
counter from current
count and process
repeats. Overflow
may occur (TOF = 1).
Содержание DSP56303
Страница 1: ...DSP56303 User s Manual 24 Bit Digital Signal Processor DSP56303UM AD Revision 1 January 2001 ...
Страница 52: ...JTAG OnCE Interface 2 22 DSP56303 User s Manual ...
Страница 114: ...General Purpose Input Output GPIO 5 10 DSP56303 User s Manual ...
Страница 212: ...GPIO Signals and Registers 8 26 DSP56303 User s Manual ...
Страница 268: ...Interrupt Equates A 22 DSP56303 User s Manual ...
Страница 306: ...Programming Sheets B 38 DSP56303 User s Manual ...
Страница 320: ...Index 14 DSP56303 User s Manual ...