Table 11-2, Timer control bits for timer 0 -8, Table 11-3 – Freescale Semiconductor DSP56366 User Manual

Page 238: Timer control bits for timers 1 and 2 -8, Of operation

Advertising
background image

Timer/Event Counter Programming Model

DSP56366 24-Bit Digital Signal Processor User Manual, Rev. 4

11-8

Freescale Semiconductor

Table 11-2 Timer Control Bits for Timer 0

Bit Settings

Mode Characteristics

TC3

TC2

TC1

TC0

Mode

Number

Mode Function

TIO0

Clock

0

0

0

0

0

Timer and GPIO

GPIO

1

1

The GPIO function is enabled only if all of the TC[3:0] bits are zero.

Internal

0

0

0

1

1

Timer pulse

Output

Internal

0

0

1

0

2

Timer toggle

Output

Internal

0

0

1

1

3

Event counter

Input

External

0

1

0

0

4

Input width measurement

Input

Internal

0

1

0

1

5

Input period measurement

Input

Internal

0

1

1

0

6

Capture event

Input

Internal

0

1

1

1

7

Pulse width modulation

Output

Internal

1

0

0

0

8

Reserved

1

0

0

1

9

Watchdog pulse

Output

Internal

1

0

1

0

10

Watchdog toggle

Output

Internal

1

0

1

1

11

Reserved

1

1

0

0

12

Reserved

1

1

0

1

13

Reserved

1

1

1

0

14

Reserved

1

1

1

1

15

Reserved

Table 11-3 Timer Control Bits for Timers 1 and 2

TC3

TC2

TC1

TC0

Clock

Mode

0

0

0

0

Internal

Timer

0

0

0

1

Reserved

0

0

1

X

Reserved

0

1

X

X

Reserved

1

X

X

X

Reserved

Advertising