RX610 Group
16. Programmable Pulse Generator (PPG)
R01UH0032EJ0120 Rev.1.20
Page 552 of 1006
Feb 20, 2013
16.3.4
Non-Overlapping Pulse Output
During non-overlapping operation, data transfer from PPGm.NDRH and PPGm.NDRL (m = 0, 1) to PPGm.PODRH and
PPGm. PODRL is performed as follows.
•
On compare match A, the values in PPGm.NDRH and PPGm.NDRL are always transferred to PPGm.PODRH and
PPGm. PODRL.
•
On compare match B, data transfer proceeds for bits in PPGm.NDRH and PPGm.NDRL that have the value 0. It
does not proceed for bits having the value 1.
Figure 16.9 shows the non-overlapping pulse output operation.
Compare match B
Pulse output pin
Internal data bus
Normal output /inverted output#
C
PODR
Q
D
NDER
Q
NDR
Q
D
Compare match A
Figure 16.9 Non-Overlapping Pulse Output
Therefore, compare match B before compare match A allows 0-valued data to be transferred in advance of 1-valued data.
Do not change the values in PPGm.NDRH and PPGm.NDRL during the interval from compare match B to compare
match A (the non-overlap margin).
To transfer 0-valued data in advance of 1-valued data, write the next data to PPGm.NDRH and PPGm.NDRL from
within the TGIA interrupt handling routine or by using a TGIA interrupt to activate transfer by the DTC or DMAC. In
any case, the next data must be written before the next compare match B occurs.
Figure 16.10 shows the timing of the above procedure.