Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Сигнальный МП Motorola DSP56002.pdf
Скачиваний:
16
Добавлен:
26.05.2014
Размер:
2.28 Mб
Скачать

Freescale Semiconductor, Inc.

Freescale Semiconductor, Inc.

INTRODUCTION

7.1INTRODUCTION

This section describes the timer/event counter module*. The timer can use internal or external clocking and can interrupt the processor after a number of events (clocks) specified by a user program, or it can signal an external device after counting internal events.

The timer connects to the external world through the bidirectional TIO pin. When TIO is used as input, the module is functioning as an external event counter or is measuring external pulse width/signal period. When TIO is used as output, the module is functioning as a timer and TIO becomes the timer pulse. When the TIO pin is not used by the timer module it can be used as a general purpose I/O (GPIO) pin.

Note: When the timer is disabled, the TIO pin becomes three-stated. To prevent undesired spikes from occurring, the TIO pin should be pulled up or down when it is not in use.

7.2TIMER/EVENT COUNTER BLOCK DIAGRAM

Figure 7-1 shows a block diagram of the timer module. It includes a 24-bit read-write Timer Control and Status Register (TCSR), a 24-bit read-write Timer Count Register (TCR), a 24-bit counter, and logic for clock selection and interrupt generation.

GDB

24

24

24

24-bit Timer Count

24-bit Timer Control/ Register (TCR)

Status Register (TCSR)

 

 

24

 

3

 

 

 

24-bit Counter

Clock select

 

CLK/2

TIO

Timer interrupt

Figure 7-1 Timer/Event Counter Module Block Diagram

* The first version of the DSP56002 (mask number D41G) did not have the timer/event counter. Later versions of the DSP56002 which have different mask numbers do have the timer/event counter. This mask number can be found below the part number on each chip.

MOTOROLA DSP56002 TIMER AND EVENT COUNTER 7 - 3

For More Information On This Product, Go to: www.freescale.com

Соседние файлы в предмете Радиоприемные устройства