Datasheet

Section 11 Programmable Pulse Generator (PPG)
Rev.6.00 Mar. 18, 2009 Page 502 of 980
REJ09B0050-0600
11.4.6 Example of Non-Overlapping Pulse Output (Example of Four-Phase
Complementary Non-Overlapping Output)
Figure 11.9 shows an example in which pulse output is used for four-phase complementary non-
overlapping pulse output.
TCNT value
TCNT
TGRB
TGRA
H'0000
NDRH
95 65 59 56 95 65
00 95 05 65 41 59 50 56 14 95 05 65
PODRH
PO15
PO14
PO13
PO12
PO11
PO10
PO9
PO8
Time
Non-overlap margin
Figure 11.9 Non-Overlapping Pulse Output Example (Four-Phase Complementary)
1. Set up the TPU channel to be used as the output trigger channel so that TGRA and TGRB are
output compare registers. Set the trigger period in TGRB and the non-overlap margin in
TGRA, and set the counter to be cleared by compare match B. Set the TGIEA bit in TIER to 1
to enable the TGIA interrupt.