Rev. 1.0, 03/01, page 123 of 280
Section 11 Timer W
Timer W has a 16-bit timer having output compare and input capture functions. Timer W can
count external events and output pulses with an arbitrary duty cycle by compare match between
the timer counter and four general registers. Thus, it can be applied to various systems.
11.1
Features
•
Selection of five counter clock sources: four internal clocks (
φ
,
φ
/2,
φ
/4,
φ
/8) and an external
clock (external events can be counted)
•
Capability to process up to four pulse outputs or four pulse inputs
•
Four general registers:
Independently assignable output compare or input capture functions
Usable as two pairs of registers; one register of each pair operates as a buffer for the output
compare or input capture register
•
Four selectable operating modes :
Waveform output by compare match
Selection of 0 output, 1 output, or toggle output
Input capture function
Rising edge, falling edge, or both edges
Counter clearing function
Counters can be cleared by compare match
PWM mode
Up to three-phase PWM output can be provided with desired duty ratio.
•
Any initial timer output value can be set
•
Five interrupt sources
Four compare match/input capture interrupts and an overflow interrupt.
Table 11-1 summarizes the timer W functions, and figure 11-1 shows a block diagram of timer W.
Содержание H8/3670F-ZTAT HD64F3670
Страница 2: ...Rev 2 0 03 01 page ii of xxiv ...
Страница 4: ...Rev 2 0 03 01 page iv of xxiv ...
Страница 14: ...Rev 2 0 03 01 page xiv of xxiv ...
Страница 20: ...Rev 1 0 03 01 page xx of xxiv ...
Страница 24: ...Rev 1 0 03 01 page xxiv of xxiv ...
Страница 78: ...Rev 1 0 03 01 page 54 of 280 ...
Страница 112: ...Rev 1 0 03 01 page 88 of 280 ...
Страница 248: ...Rev 1 0 03 01 page 224 of 280 ...