h8s-2646 Renesas Electronics Corporation., h8s-2646 Datasheet - Page 381

no-image

h8s-2646

Manufacturer Part Number
h8s-2646
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2600 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Examples of Buffer Operation:
• When TGR is an output compare register
TGR0B
TGR0A
H'0000
TGR0C
TGR0A
TIOCA
Figure 10.19 shows an operation example in which PWM mode 1 has been designated for
channel 0, and buffer operation has been designated for TGRA and TGRC. The settings used
in this example are TCNT clearing by compare match B, 1 output at compare match A, and 0
output at compare match B.
As buffer operation has been set, when compare match A occurs the output changes and the
value in buffer register TGRC is simultaneously transferred to timer general register TGRA.
This operation is repeated each time compare match A occurs.
For details of PWM modes, see section 10.4.6, PWM Modes.
TCNT value
Transfer
H'0200
H'0200
Figure 10.19 Example of Buffer Operation (1)
H'0200
H'0450
H'0450
Rev. 5.00 Sep 22, 2005 page 355 of 1136
Section 10 16-Bit Timer Pulse Unit (TPU)
H'0450
H'0520
REJ09B0257-0500
H'0520
Time

Related parts for h8s-2646