Rev. 5.00, 09/03, page 389 of 760
Section 12 Timer (TMU)
12.1
Overview
The SH7709S has a three-channel (channels 0 to 2) 32-bit timer unit (TMU).
12.1.1
Features
The TMU has the following features:
•
Each channel is provided with an auto-reload 32-bit down counter.
•
Channel 2 is provided with an input capture function.
•
All channels are provided with 32-bit constant registers and 32-bit down counters that can be
read or written to at any time.
•
All channels generate interrupt requests when the 32-bit down counter underflows
(H'00000000
→
H'FFFFFFFF).
•
Allows selection between 6 counter input clocks: External clock (TCLK), on-chip RTC output
clock (16 kHz), P
φ
/4, P
φ
/16, P
φ
/64, P
φ
/256. (P
φ
is the internal clock for peripheral modules.)
See section 9, On-Chip Oscillation Circuits, for more information on the clock pulse generator.
•
All channels can operate when the SH7709S is in standby mode: When the RTC output clock
is being used as the counter input clock, the SH7709S is still able to count in standby mode.
•
Synchronized read: TCNT is a sequentially changing 32-bit register. Since the peripheral
module used has an internal bus width of 16 bits, a time lag can occur between the time when
the upper 16 bits and lower 16 bits are read. To correct the discrepancy in the counter read
value caused by this time lag, a synchronization circuit is built into the TCNT so that the entire
32-bit data in the TCNT can be read at once.
•
The maximum operating frequency of the 32-bit counter is 2 MHz on all channels: Operate the
SH7709S so that the clock input to the timer counters of each channel (obtained by dividing
the external clock and internal clock with the prescaler) does not exceed the maximum
operating frequency.
Summary of Contents for SH7709S
Page 2: ......
Page 44: ...Rev 5 00 09 03 page xliv of xliv ...
Page 62: ...Rev 5 00 09 03 page 18 of 760 ...
Page 128: ...Rev 5 00 09 03 page 84 of 760 ...
Page 146: ...Rev 5 00 09 03 page 102 of 760 ...
Page 224: ...Rev 5 00 09 03 page 180 of 760 ...
Page 246: ...Rev 5 00 09 03 page 202 of 760 ...
Page 266: ...Rev 5 00 09 03 page 222 of 760 ...
Page 370: ...Rev 5 00 09 03 page 326 of 760 ...
Page 432: ...Rev 5 00 09 03 page 388 of 760 ...
Page 532: ...Rev 5 00 09 03 page 488 of 760 ...
Page 598: ...Rev 5 00 09 03 page 554 of 760 ...
Page 630: ...Rev 5 00 09 03 page 586 of 760 ...
Page 656: ...Rev 5 00 09 03 page 612 of 760 ...
Page 684: ...Rev 5 00 09 03 page 640 of 760 ...
Page 700: ...Rev 5 00 09 03 page 656 of 760 ...
Page 758: ...Rev 5 00 09 03 page 714 of 760 ...
Page 807: ...SH7709S Group Hardware Manual REJ09B0081 0500O ADE 602 250C ...