Section 18 timer unit (tmu), 1 features – Renesas SH7781 User Manual

Page 829

Advertising
background image

18. Timer Unit (TMU)

Rev.1.00 Jan. 10, 2008 Page 799 of 1658

REJ09B0261-0100

Section 18 Timer Unit (TMU)

This LSI includes an on-chip 32-bit timer unit (TMU), which has six channels (channels 0 to 5).

18.1

Features

The TMU has the following features.

• Auto-reload type 32-bit down-counter provided for each channel
• Input capture function provided only for channel 2
• Selection of rising edge or falling edge as external clock input edge when external clock is

selected or input capture function is used: Channels 0 to 2

• 32-bit timer constant register for auto-reload use, readable/writable at any time, and 32-bit

down-counter provided for each channel

• Selection of six counter input clocks: Channels 0 to 2

External clock (TCLK) and five internal clocks (Pck/4, Pck/16, Pck/64, Pck/256, and
Pck/1024) obtained by dividing the peripheral clock (Pck is the peripheral clock).

• Selection of five counter input clocks: Channels 3 to 5

Five internal clocks (Pck/4, Pck/16, Pck/64, Pck/256, and Pck/1024) (Pck is the peripheral
clock).

• Two interrupt sources

One underflow source (each channel) and one input capture source (channel 2).

Advertising