Figure 12.19 Example Of Buffer Operation (1) - Renesas H8S Series Hardware Manual

16-bit single-chip microcomputer
Hide thumbs Also See for H8S Series:
Table of Contents

Advertisement

(2)
Examples of Buffer Operation
1. When TGR is an output compare register
Figure 12.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 12.5.4, PWM Modes.
TCNT value
TGRB_0
TGRA_0
H'0000
H'0200
TGRC_0
Transfer
TGRA_0
TIOCA
H'0200
H'0450
H'0200

Figure 12.19 Example of Buffer Operation (1)

Section 12 16-Bit Timer Pulse Unit (TPU)
H'0450
H'0520
H'0450
Rev. 3.00 Jul. 14, 2005 Page 345 of 986
H'0520
Time
REJ09B0098-0300

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s/2100 seriesH8s/2114rR4f2114r

Table of Contents