Timer/Event Counter Programming Model
DSP56366 24-Bit Digital Signal Processor User Manual, Rev. 4
11-8 Freescale Semiconductor
Table11-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 GPIO1
1The 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 Outpu t Internal
1000 8 Reserved ——
1 0 0 1 9 Watchdog pulse Output Inter nal
1 0 1 0 10 Watchdog toggle Output Internal
1011 11 Reserved ——
1100 12 Reserved ——
1101 13 Reserved ——
1110 14 Reserved ——
1111 15 Reserved ——
Table11-3 Timer Control Bits for Timers 1 and 2
TC3 TC2 TC1 TC0 Clock Mode
0000 Internal Timer
0001 — Reserved
001X — Reser ved
01XX — Reser ved
1XXX — Reser ved