English
Language : 

SH7211 Datasheet, PDF (461/1228 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer SuperHTM RISC engine Family
Section 10 Multi-Function Timer Pulse Unit 2 (MTU2)
10.3.32 Timer Waveform Control Register (TWCR)
TWCR is an 8-bit readable/writable register that controls the waveform when synchronous counter
clearing occurs in TCNT_3 and TCNT_4 in complementary PWM mode and specifies whether to
clear the counters at TGRA_3 compare match. The CCE bit and WRE bit in TWCR must be
modified only while TCNT stops.
Bit: 7
6
5
4
3
2
1
0
CCE
-
-
-
-
-
SCC WRE
Initial value: 0* 0
0
0
0
0
0
0
R/W: R/(W) R R R R R R/(W) R/(W)
Note: * Do not set to 1 when complementary PWM mode is not selected.
Bit
Bit Name
7
CCE
6 to 2 —
Initial
Value
0*
All 0
R/W
R/(W)
R
Description
Compare Match Clear Enable
Specifies whether to clear counters at TGRA_3
compare match in complementary PWM mode.
0: Does not clear counters at TGRA_3 compare match
1: Clears counters at TGRA_3 compare match
[Setting condition]
• When 1 is written to CCE after reading CCE = 0
Reserved
These bits are always read as 0. The write value should
always be 0.
Rev. 2.00 May. 08, 2008 Page 437 of 1200
REJ09B0344-0200