FUJITSU F2MCTM-16LX User Manual
Page 327

311
CHAPTER 16 8-/16-BIT PPG TIMER
Figure 16.6-1 Waveform when Values in PPG Reload Registers Rewritten Using Byte Instruction
●
Setting of PPG reload registers when using 16-bit PPG timer
Use a long-word instruction to set the PPG reload registers (PRLLn/PRLHn, PRLLm/PRLHm) or a word
instruction to set the word instruction to set the PPGn and PPGm (PRLLn --> PRLLn or PRLHm -->
PRLHm) in this order.
[Reload timing in 16-bit PPG output operation mode]
In the 16-bit PPG output operation mode, the reload values written to the PPGn reload registers (PRLLn,
PRLHn) are written temporarily to the temporary latch, written to the PPGm reload registers (PRLLm/
PRLHm), and then transferred to the PPGn reload registers (PRLLn/PRLHn). Therefore, when setting the
reload value in the PPGm reload registers (PRLLm/PRLHm), it is necessary to set the reload value in the
PPGn reload registers (PRLLn/PRLHn) simultaneously or set the reload value in the PPGn reload registers
(PRLLn/PRLHn) before setting it in the PPGm reload registers (PRLLm/PRLHm).
Figure 16.6-2 shows the reload timing in the 16-bit PPG output operation mode.
PRLH
PRLL
A
A
A
+
B
B
B
D
A
C
B
C
B
C
D
C
D
<1> <2>
A
+
B
C
+
D
C
+
D
C
+
D
B
+
C
Timing of updating
reload value
PPG pin
<1>: Change the value (A
→
C) of PPG reload register (PRLL)
<2>: Change the value (B
→
D) of PPG reload register (PRLH)