3 comm timer external clock[7:0, 2 memory map/register definition, 1 timer module register map – Freescale Semiconductor MCF5480 User Manual

Page 755: Comm timer external clock[7:0] -3, Memory map/register definition -3, Timer module register map -3

Advertising
background image

Memory Map/Register Definition

MCF548x Reference Manual, Rev. 3

Freescale Semiconductor

25-3

The fixed timer channel provides the user with two modes, a programmable baud clock generator mode or

a fixed period task initiator mode.

In baud clock generator mode the fixed timer channel outputs a cInitiator signal that is free

running.

In fixed period task initiator mode the fixed timer channel outputs a cInitiator signal in response

to a cAcknowledge input from the multichannel DMA’s PTD (priority task decode). It also outputs

a timerInterrupt signal to the processor if there is an error in the channel. In the current

implementation there are four fixed timer channels available.

The variable timer channel provides the user with the programmable baud clock generator mode or a

variable period task initiator mode.

In baud clock generator mode the cInitiator output is free running.

In variable period task initiator mode, the cInitiator output is influenced by the cAcknowledge

signal. Unlike the fixed timer channel, the variable timer channel does not have a timerInterrupt

output signal due to the variability of the period. In the current implementation there are four

variable channels available.

25.1.3

Comm Timer External Clock[7:0]

The comm timer external clock is the alternate clock signal and is provided by the user. The user must write

a 1 to CTCR[S] in the variable channel and write a 1001 to CTCR[S] within the fixed channel to select

this signal. If this signal is selected, all timing will be with respect to this clock signal. This signal is

restricted to being half the frequency or less of the system bus clock.

25.2

Memory Map/Register Definition

Section 25.2.2.1, “Comm Timer Configuration Register (CTCRn)—Fixed Timer Channel,”

and

Section 25.2.2.2, “Comm Timer Configuration Register (CTCRn)—Variable Timer Channel,”

explain the

registers contained within the timer module. Details are given regarding register mapping, programming

notes, bit definitions, and operating modes.

25.2.1

Timer Module Register Map

Table 25-2

shows the register mapping of the timer module.

Table 25-1. Comm Timers External Clock

Timer Channel

External Signal

0

TIN0

1

TIN1

2

TIN2

3

TIN3

4

PSC3BCLK

5

PSC2BCLK

6

PSC1BCLK

7

PSC0BCLK

Advertising
This manual is related to the following products: