![Hitachi H8/3008 Скачать руководство пользователя страница 187](http://html.mh-extra.com/html/hitachi/h8-3008/h8-3008_hardware-manual_140473187.webp)
171
Section 8 16-Bit Timer
8.1
Overview
The H8/3008 has built-in 16-bit timer module with three 16-bit counter channels.
8.1.1
Features
16-bit timer features are listed below.
•
Capability to process up to 6 pulse outputs or 6 pulse inputs
•
Six general registers (GRs, two per channel) with independently-assignable output compare or
input capture functions
•
Selection of eight counter clock sources for each channel:
Internal clocks:
φ
,
φ
/2,
φ
/4,
φ
/8
External clocks: TCLKA, TCLKB, TCLKC, TCLKD
•
Five operating modes selectable in all channels:
Waveform output by compare match
Selection of 0 output, 1 output, or toggle output (only 0 or 1 output in channel 2)
Input capture function
Rising edge, falling edge, or both edges (selectable)
Counter clearing function
Counters can be cleared by compare match or input capture
Synchronization
Two or more timer counters (16TCNTs) can be preset simultaneously, or cleared
simultaneously by compare match or input capture. Counter synchronization enables
synchronous register input and output.
PWM mode
PWM output can be provided with an arbitrary duty cycle. With synchronization, up to
three-phase PWM output is possible
•
Phase counting mode selectable in channel 2
Two-phase encoder output can be counted automatically.
•
High-speed access via internal 16-bit bus
The 16TCNTs and GRs can be accessed at high speed via a 16-bit bus.
•
Any initial timer output value can be set
•
Nine interrupt sources
Each channel has two compare match/input capture interrupts and an overflow interrupt. All
interrupts can be requested independently.
Содержание H8/3008
Страница 1: ...Hitachi 16 Bit Microcomputer H8 3008 Hardware Manual ADE 602 221 Rev 1 0 9 14 00 Hitachi Ltd ...
Страница 4: ......
Страница 17: ...xii ...
Страница 70: ...54 ...
Страница 114: ...98 ...
Страница 154: ...138 ...
Страница 314: ...298 ...
Страница 412: ...396 ...
Страница 496: ...480 ...