
318
Figure 12.2 shows an example of complementary PWM mode output (1 phase) when OLSN = 1,
OLSP = 1.
TCNT3 and
TCNT4 values
TGR3A
TGR4A
H'0000
Positive
phase output
Reverse
phase output
TDDR
TCNT4
TCNT3
Time
Active
level
Initial
output
Initial
output
Compare match
output (up count)
Compare match
output (up count)
Compare match
output (down count)
Compare match
output (down count)
Active level
Active level
Figure 12.2 Complementary PWM Mode Output Level Example
12.2.12
Timer Gate Control Register (TGCR)
The timer gate control register (TGCR) is an 8-bit read/write register that controls the waveform
output necessary for brushless DC motor control in complementary PWM mode/reset-
synchronized PWM mode. The TGCR is initialized to H'80 by a power-on reset or in the standby
mode. Manual reset does not initialize TGCR. These register settings are ineffective for anything
other than complementary PWM mode/reset-synchronized PWM mode.
Bit:
7
6
5
4
3
2
1
0
—
BDC
N
P
FB
WF
VF
UF
Initial value:
1
0
0
0
0
0
0
0
R/W:
R
R/W
R/W
R/W
R/W
R/W
R/W
R/W
•
Bit 7—Reserved: This bit always reads as 1. The write value should always be 1.
Summary of Contents for SH7041 Series
Page 2: ......
Page 6: ......
Page 38: ...xvi ...
Page 44: ...6 ...
Page 46: ...8 ...
Page 48: ...10 ...
Page 82: ...44 ...
Page 114: ...76 ...
Page 118: ...80 ...
Page 124: ...86 ...
Page 170: ...132 ...
Page 250: ...212 ...
Page 492: ...454 ...
Page 506: ...468 ...
Page 604: ...566 ...
Page 684: ...646 ...
Page 706: ...668 ...
Page 778: ...740 ...
Page 780: ...742 ...
Page 818: ...780 ...
Page 850: ...812 ...
Page 923: ...SH7040 SH7041 SH7042 SH7043 SH7044 SH7045 Group Hardware Manual REJ09B0044 0600O ...