
R01UH0336EJ0102 Rev.1.02
Page 930 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 16 TPBA
16.5.3
Duty Rewrite Operation
TPBAnBUFm can be rewritten during operation.
The rewritten setting is reflected immediately.
(1)
TPBAnBUFm Setting Flow
Figure 16-4
Basic Rewrite Flow of TPBAnBUFm
Note
*
Since TPBAnBUFm can be written at any time, it is recommended that this
register is rewritten during last duty cycle output (TPBAnCNT1 = 00
H
) of the
pattern period (the number of patterns specified by TPBAnCMP1).
START
YES
NO
END
Read TPBAnCNT1.
Read TPBAnCMP1.
Determine whether TPBAnBUFm can
be rewritten based on the values
of both registers.
*
Rewritable?
Rewrite TPBAnBUFm.