11 timer/ event counter, 1 introduction, 2 timer/event counter architecture – Freescale Semiconductor DSP56366 User Manual

Page 231: 1 timer/event counter block diagram, Timer/ event counter -1, Introduction -1, Timer/event counter architecture -1, Timer/event counter block diagram -1, Section 11, "timer/ event counter

Advertising
background image

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

Freescale Semiconductor

11-1

11 Timer/ Event Counter

11.1

Introduction

This section describes the internal timer/event counter in the DSP56366. Each of the three timers (timer 0,
1 and 2) can use internal clocking to interrupt the DSP56366 or trigger DMA transfers after a specified
number of events (clocks). In addition, timer 0 provides external access via the bidirectional signal TIO0.

When the TIO0 pin is configured as an input, timer 0 can count or capture events, or measure the width or
period of an external signal. When TIO0 is configured as an output, timer 0 can function as a timer, a
watchdog timer, or a pulse width modulator. TIO0 can also function as a GPIO signal.

11.2

Timer/Event Counter Architecture

The timer module is composed of a common 21-bit prescaler and three independent general purpose 24-bit
timer/event counters, each having its own register set.

11.2.1

Timer/Event Counter Block Diagram

Figure 11-1

shows a block diagram of the timer/event counter. This module includes a 24-bit timer

prescaler load register (TPLR), a 24-bit timer prescaler count register (TPCR), a 21-bit prescaler clock
counter, and three timers. Each of the three timers may use the prescaler clock as its clock source.

Advertising