Datasheet

Section 16 Timer RD
REJ09B0465-0300 Rev. 3.00 Page 583 of 982
Sep 17, 2010
H8S/20103, H8S/20203, H8S/20223, H8S/20115, H8S/20215, H8S/20235 Group
Figures 16.48 and 16.49 show the operation examples when buffer operation has been designated
for GRB_0 and GRD_0 in complementary PWM mode. These are examples when a PWM
waveform of 0% duty is created by using the buffer operation and performing GRD_0 GRA_0.
Data is transferred from GRD_0 to GRB_0 according to the settings of CMD0 and CMD1 when
TRDCNT_0 and GRA_0 are compared and their contents match or when TRDCNT_1 underflows.
However, when GRD_0 GRA_0, data is transferred from GRD_0 to GRB_0 when TRDCNT_1
underflows regardless of the setting of CMD0 and CMD1. When GRD_0 = H'0000, data is
transferred from GRD_0 to GRB_0 when TRDCNT_0 and GRA_0 are compared and their
contents match regardless of the settings of CMD0 and CMD1.
GRA_0
H'0000
H'0999
FTIOB0
FTIOD0
TRDCNT_0
TRDCNT values
Time
GRB_0 (When restored, data will be transferred
to the saved location regardless of the
CMD1 and CMD0 values)
TRDCNT_1
H'0999
H'0999
H'0999
H'0999
H'1FFF
H'0999
GRD_0
H'1FFF
GRB_0
Figure 16.48 Buffer Operation (3)
(Buffer Operation in Complementary PWM Mode CMD1 = CMD0 = 1)