Rev.6.00 Oct.28.2004 page 337
of 1016
REJ09B0138-0600H
Section 10 16-Bit Timer Pulse Unit (TPU)
10.1
Overview
The H8S/2357 Group has an on-chip 16-bit timer pulse unit (TPU) that comprises six 16-bit timer channels.
10.1.1
Features
•
Maximum 16-pulse input/output
A total of 16 timer general registers (TGRs) are provided (four each for channels 0 and 3, and two each for
channels 1, 2, 4, and 5), each of which can be set independently as an output compare/input capture register
TGRC and TGRD for channels 0 and 3 can also be used as buffer registers
•
Selection of 8 counter input clocks for each channel
•
The following operations can be set for each channel:
Waveform output at compare match: Selection of 0, 1, or toggle output
Input capture function: Selection of rising edge, falling edge, or both edge detection
Counter clear operation: Counter clearing possible by compare match or input capture
Synchronous operation: Multiple timer counters (TCNT) can be written to simultaneously. Simultaneous clearing
by compare match and input capture possible. Register simultaneous input/output possible by counter synchronous
operation
PWM mode: Any PWM output duty can be set. Maximum of 15-phase PWM output possible by combination with
synchronous operation
•
Buffer operation settable for channels 0 and 3
Input capture register double-buffering possible
Automatic rewriting of output compare register possible
•
Phase counting mode settable independently for each of channels 1, 2, 4, and 5
Two-phase encoder pulse up/down-count possible
•
Cascaded operation
Channel 2 (channel 5) input clock operates as 32-bit counter by setting channel 1 (channel 4) overflow/underflow
•
Fast access via internal 16-bit bus
Fast access is possible via a 16-bit bus interface
•
26 interrupt sources
For channels 0 and 3, four compare match/input capture dual-function interrupts and one overflow interrupt can be
requested independently
For channels 1, 2, 4, and 5, two compare match/input capture dual-function interrupts, one overflow interrupt, and
one underflow interrupt can be requested independently
•
Automatic transfer of register data
Block transfer, 1-word data transfer, and 1-byte data transfer possible by data transfer controller (DTC) or DMA
controller (DMAC) activation
•
Programmable pulse generator (PPG) output trigger can be generated
Channel 0 to 3 compare match/input capture signals can be used as PPG output trigger
Содержание ZTAT H8S/2357F
Страница 4: ......
Страница 28: ...Rev 6 00 Oct 28 2004 page xxiv of xxiv REJ09B0138 0600H...
Страница 82: ...Rev 6 00 Oct 28 2004 page 54 of 1016 REJ09B0138 0600H...
Страница 108: ...Rev 6 00 Oct 28 2004 page 80 of 1016 REJ09B0138 0600H...
Страница 364: ...Rev 6 00 Oct 28 2004 page 336 of 1016 REJ09B0138 0600H...
Страница 438: ...Rev 6 00 Oct 28 2004 page 410 of 1016 REJ09B0138 0600H...
Страница 566: ...Rev 6 00 Oct 28 2004 page 538 of 1016 REJ09B0138 0600H...
Страница 588: ...Rev 6 00 Oct 28 2004 page 560 of 1016 REJ09B0138 0600H...
Страница 688: ...Rev 6 00 Oct 28 2004 page 660 of 1016 REJ09B0138 0600H...
Страница 694: ...Rev 6 00 Oct 28 2004 page 666 of 1016 REJ09B0138 0600H...
Страница 708: ...Rev 6 00 Oct 28 2004 page 680 of 1016 REJ09B0138 0600H...
Страница 1044: ...Rev 6 00 Oct 28 2004 page 1016 of 1016 REJ09B0138 0600H...
Страница 1047: ...H8S 2357 Group H8S 2357F ZTATTM H8S 2398F ZTATTM Hardware Manual 2 6 2 Ote machi Chiyoda ku Tokyo 100 0004 Japan...