Datasheet
Section 11 8-Bit Timer (TMR)
Rev. 3.00 Sep. 28, 2009 Page 211 of 710
REJ09B0384-0300
Section 11 8-Bit Timer (TMR)
This LSI has an on-chip 8-bit timer module (TMR_0 and TMR_1) with two channels operating on
the basis of an 8-bit counter.
This LSI also has two channels of similar 8-bit timer modules (TMR_Y and TMR_X).
11.1 Features
• Selection of clock sources
⎯ TMR_0, TMR_1: The counter input clock can be selected from six internal clocks.
⎯ TMR_Y, TMR_X: The counter input clock can be selected from three internal clocks.
• Selection of two ways to clear the counters
⎯ The counters can be cleared on compare-match A and compare-match B.
• Cascading of TMR_0 and TMR_1
(Cascading of TMR_Y and TMR_X is not allowed)
⎯ Operation as a 16-bit timer can be performed using TMR_0 as the upper half and TMR_1
as the lower half (16-bit count mode). TMR_1 can be used to count TMR_0 compare
match occurrences (compare-match count mode).
• Multiple interrupt sources for each channel
⎯ TMR_0, TMR_1,
and TMR_Y: One interrupt: Overflow
⎯ TMR_X: Three interrupts: Compare-match A, compare-match B, and overflow