beautypg.com

Timer mode (trm = 1) -7, Timer mode (trm = 0) -7 – Motorola DSP56301 User Manual

Page 269

background image

Operating Modes

Triple Timer Module

9

-7

Figure 9-3. Timer Mode (TRM = 1)

Figure 9-4. Timer Mode (TRM = 0)

Mode 0 (internal clock, no timer output): TRM = 1

N = write preload

M = write compare

TE

Clock
(CLK/2 or prescale CLK)

TLR

TCPR

TCF (Compare Interrupt if TCIE = 1)

Counter (TCR)

first event

last event

M

0

N

N + 1

M

N

N + 1

N

Mode 0 (internal clock, no timer output): TRM = 0

N = write preload

M = write compare

TE

Clock
(CLK/2 or prescale CLK)

TLR

TCPR

TCF (Compare Interrupt if TCIE = 1)

Counter (TCR)

first event

last event

M

0

N

N + 1

M

0

1

N

M + 1

TOF (Overflow Interrupt if TCIE = 1)