Complementary Pwm Mode - Hitachi F-ZTAT H8/3039 Series Hardware Manual

Single-chip microcomputer
Table of Contents

Advertisement

8.4.6 Complementary PWM Mode

In complementary PWM mode channels 3 and 4 are combined to output three pairs of
complementary, non-overlapping PWM waveforms.
When complementary PWM mode is selected TIOCA
TOCXB
automatically become PWM output pins, and TCNT3 and TCNT4 function as up/down-
4
counters.
Table 8-7 lists the PWM output pins. Table 8-8 summarizes the register settings.
Table 8-7 Output Pins in Complementary PWM Mode
Channel
Output Pin
3
TIOCA
3
TIOCB
3
4
TIOCA
4
TOCXA
TIOCB
4
TOCXB
Table 8-8 Register Settings in Complementary PWM Mode
Register
Setting
TCNT3
Initially specifies the non-overlap margin (difference to TCNT4)
TCNT4
Initially set to H'0000
GRA3
Specifies the upper limit value of TCNT3 minus 1
GRB3
Specifies a transition point of PWM waveforms output from TIOCA
GRA4
Specifies a transition point of PWM waveforms output from TIOCA
GRB4
Specifies a transition point of PWM waveforms output from TIOCB
Description
PWM output 1
PWM output 1´ (non-overlapping complementary waveform to PWM
output 1)
PWM output 2
PWM output 2´ (non-overlapping complementary waveform to PWM
4
output 2)
PWM output 3
PWM output 3´ (non-overlapping complementary waveform to PWM
4
output 3)
, TIOCB
, TIOCA
3
3
4
, TOCXA
, TIOCB
4
4
and TIOCB
3
3
and TOCXA
4
4
and TOCXB
4
4
, and
245

Advertisement

Table of Contents
loading

This manual is also suitable for:

F-ztat h8/3039F-ztat h8/3038F-ztat h8/3037F-ztat h8/3036

Table of Contents