TIMH261A_000020020300
Rev. 1.00, 09/03, page 267 of 704
Section 11 8-Bit Timer (TMR)
This LSI has an on-chip 2-system 8-bit timer module (TMR0 and TMR1) with two channels
operating on the basis of an 8-bit counter. In addition to external event counting, the 8-bit timer
module can be used as a multifunction timer in a variety of applications, such as generation of
counter reset, interrupt requests, and pulse output with an arbitrary duty cycle using a compare-
match signal with two registers.
This LSI also has a similar on-chip 2-system 8-bit timer module (TMRY and TMRX) with two
channels.
11.1 Features
•
Selection of clock sources
TMR0, TMR1: The counter input clock can be selected from six internal clocks and an
external clock
TMRY, TMRX: The counter input clock can be selected from three internal clocks and an
external clock
•
Selection of three ways to clear the counters
The counters can be cleared on compare-match A or compare-match B, or by an external reset
signal.
•
Timer output controlled by two compare-match signals
The timer output signal in each channel is controlled by two independent compare-match
signals, enabling the timer to be used for various applications, such as the generation of pulse
output or PWM output with an arbitrary duty cycle.
•
Cascading of two systems
Cascading of TMR0 and TMR1:
Operation as a 16-bit timer can be performed using the TMR0 as the upper half and TMR1 as
the lower half (16-bit count mode).
The TMR1 can be used to count TMR0 compare-match occurrences (compare-match count
mode).
Cascading of TMRY and TMRX:
Operation as a 16-bit timer can be performed using the TMRY as the upper half and TMRX as
the lower half (16-bit count mode).
The TMRX can be used to count TMRY compare-match occurrences (compare-match count
mode).
•
Multiple interrupt sources for each channel
TMR0, TMR1, and TMRY: Three types of interrupts: Compare-match A, compare-match B,
and overflow
Содержание H8S/2437
Страница 2: ...Rev 1 00 09 03 page ii of xxxviii ...
Страница 8: ...Rev 1 00 09 03 page viii of xxxviii ...
Страница 32: ...Rev 1 00 09 03 page xxxii of xxxviii ...
Страница 38: ...Rev 1 00 09 03 page xxxviii of xxxviii ...
Страница 168: ...Rev 1 00 09 03 page 130 of 704 ...
Страница 336: ...Rev 1 00 09 03 page 298 of 704 ...
Страница 402: ...Rev 1 00 09 03 page 364 of 704 ...
Страница 454: ...Rev 1 00 09 03 page 416 of 704 ...
Страница 512: ...Rev 1 00 09 03 page 474 of 704 ...
Страница 562: ...Rev 1 00 09 03 page 524 of 704 ...
Страница 648: ...Rev 1 00 09 03 page 610 of 704 ...
Страница 672: ...Rev 1 00 09 03 page 634 of 704 ...
Страница 732: ...Rev 1 00 09 03 page 694 of 704 ...
Страница 742: ...Rev 1 00 09 03 page 704 of 704 ...
Страница 745: ......
Страница 746: ...H8S 2437 Group Hardware Manual REJ09B0059 0100Z ...