Complementary Pwm Mode - Hitachi H8/3022 Hardware Manual

H8/3022 series hitachi 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
TIOCB
4
TIOCA
TOCXA
TIOCB
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
3
PWM output 1´ (non-overlapping complementary waveform to PWM
3
output 1)
PWM output 2
4
PWM output 2´ (non-overlapping complementary waveform to PWM
4
output 2)
PWM output 3
4
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
241

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8/3021H8/3020H8/3022 f-ztat

Table of Contents