Section 11 Multi-Function Timer Pulse Unit 2
R01UH0134EJ0400 Rev. 4.00 Page 505 of 2108
Sep 24, 2014
SH7262 Group, SH7264 Group
11.3.29 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:
Initial value:
R/W:
7654321
0
Note: Do not set to 1 when complementary PWM mode is not selected.*
0* 0000000
R/(W) R R R R R R R/(W)
CCE - - - - - - WRE
Bit Bit Name
Initial
Value
R/W Description
7 CCE 0* R/(W) 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
6 to 1 All 0 R Reserved
These bits are always read as 0. The write value should
always be 0.