Hitachi H8/3048 Hardware Manual page 367

Single-chip microcomputer
Table of Contents

Advertisement

10.4.6 Complementary PWM Mode
www.DataSheet4U.com
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
and TOCXB
automatically become PWM output pins, and TCNT3 and TCNT4 function as
4
up/down-counters.
Table 10-7 lists the PWM output pins. Table 10-8 summarizes the register settings.
Table 10-7 Output Pins in Complementary PWM Mode
Channel
Output Pin
3
TIOCA
TIOCB
4
TIOCA
TOCXA
TIOCB
TOCXB
Table 10-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
355
, TOCXA
, TIOCB
,
4
4
4
and TIOCB
3
3
and TOCXA
4
4
and TOCXB
4
4

Advertisement

Table of Contents
loading

Table of Contents