Rev. 1.0, 09/02, page 241 of 568
Section 11 8-Bit Timers
This LSI has an on-chip 8-bit timer module with four channels operating on the basis of an 8-bit
counter.
The 8-bit timer module can be used to count external events and 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.
11.1 Features
•
Selection of clock sources
Selected from three internal clocks (
φ
/8,
φ
/64, and
φ
/8192) and an external clock.
•
Selection of three ways to clear the counters
The counters can be cleared on compare-match A or 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 the two channels
Cascading of TMR_0 and TMR_1
The module can operate as a 16-bit timer 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).
Cascading of TMR_2 and TMR_3
The module can operate as a 16-bit timer using TMR_2 as the upper half and TMR_3 as
the lower half (16-bit count mode).
TMR_3 can be used to count TMR_2 compare-match occurrences (compare-match count
mode).
•
Multiple interrupt sources for each channel
Two compare-match interrupts and one overflow interrupt can be requested independently.
•
Generation of A/D conversion start trigger
Channel 0 compare-match signal can be used as the A/D conversion start trigger.
•
Module stop mode can be set
At initialization, the 8-bit timer operation is halted. Register access is enabled by canceling the
module stop mode.
TIMH263A_000020020300
Содержание H8S/2627
Страница 22: ...Rev 1 0 09 02 page xx of xxxvi Index 565 ...
Страница 30: ...Rev 1 0 09 02 page xxviii of xxxiv ...
Страница 36: ...Rev 1 0 09 02 page xxxiv of xxxiv Table 23 9 Flash Memory Characteristics 561 ...
Страница 82: ...Rev 1 0 09 02 page 46 of 568 ...
Страница 88: ...Rev 1 0 09 02 page 52 of 568 ...
Страница 98: ...Rev 1 0 09 02 page 62 of 568 ...
Страница 156: ...Rev 1 0 09 02 page 120 of 568 ...
Страница 390: ...Rev 1 0 09 02 page 354 of 568 ...
Страница 480: ...Rev 1 0 09 02 page 444 of 568 ...
Страница 512: ...Rev 1 0 09 02 page 476 of 568 ...
Страница 527: ...Rev 1 0 09 02 page 491 of 568 21 8 5 Writing to MSTPCR MSTPCR should only be written to by the CPU ...
Страница 528: ...Rev 1 0 09 02 page 492 of 568 ...
Страница 580: ...Rev 1 0 09 02 page 544 of 568 ...