English
Language : 

HD6413003RF Datasheet, PDF (361/715 Pages) Renesas Technology Corp – Microcontroller (MCU)
Clearing Procedure for Complementary PWM Mode: Figure 10-34 shows the steps to clear
complementary PWM mode. First, (1) set combination mode (CMD) 1 and 0 bits in the timer
function control register (TFCR) from 10 back to 00 or 01, to switch from complementary PWM
mode to normal operating mode. Next, (2) wait at least one period of the counter input clock used
by channels 3 and 4, then clear counter start (STR) 3 and 4 bits in the timer start register (TSTR)
to stop operation of counters TCNT3 and TCNT4 in channels 3 and 4.
If a procedure other than that described above is used to clear complementary PWM mode, the
output waveform may not change according to the setting when complementary PWM mode is set
again.
Complementary PWM mode
1. Clear the CMD1 bit of TFCR to 0 to
set channels 3 and 4 to normal
operating mode.
Clear complementary
PWM mode
Stop couating
1
2. After setting channels 3 and 4 to
normal operating mode, wait at least
one counter clock period, then clear
bits STR3 and STR4 of TSTR to 0 to
2
stop counter operation of TCNT3 and
TCNT4.
Normal operating mode
Figure 10-34 Clearing Procedure for Complementary PWM Mode
343