Product Info

Table Of Contents
R01UH0823EJ0110 Rev.1.10 Page 487 of 1852
Nov 30, 2020
RX23W Group 23. Multi-Function Timer Pulse Unit 2 (MTU2a)
23.2.2 Timer Mode Register (TMDR)
The TMDR register specifies the operating mode of each channel. The TMDR register values should be specified only
while the TCNT operation is stopped.
x: Don't care
Note: Only set the corresponding operating mode listed above for each channel.
Note 1. Reset-synchronized PWM mode and complementary PWM mode can only be set for MTU3.
When MTU3 is set to reset-synchronized PWM mode or complementary PWM mode, the MTU4 settings become ineffective and
conform to the MTU3 setting, respectively. MTU4 should be set to normal mode.
Address(es): MTU0.TMDR 000D 0B01h, MTU1.TMDR 000D 0B81h, MTU2.TMDR 000D 0C01h, MTU3.TMDR 000D 0A02h,
MTU4.TMDR 000D 0A03h
b7 b6 b5 b4 b3 b2 b1 b0
BFE BFB BFA MD[3:0]
Value after reset:
00000000
Bit Symbol Bit Name Description R/W
b3 to b0 MD[3:0] Mode Select These bits specify the timer operating mode. Refer to Table 23.10 for
details.
R/W
b4 BFA Buffer Operation A 0: TGRA and TGRC operate normally
1: TGRA and TGRC used together for buffer operation
R/W
b5 BFB Buffer Operation B 0: TGRB and TGRD operate normally
1: TGRB and TGRD used together for buffer operation
R/W
b6 BFE Buffer Operation E 0: MTU0.TGRE and MTU0.TGRF operate normally
1: MTU0.TGRE and MTU0.TGRF used together for buffer operation
R/W
b7 Reserved This bit is read as 0. The write value should be 0. R/W
Table 23.10 Operating Mode Setting by MD[3:0] Bits
Bit 3 Bit 2 Bit 1 Bit 0
Description MTU0 MTU1 MTU2 MTU3 MTU4MD[3] MD[2] MD[1] MD[0]
0000Normal mode 
0001Setting prohibited
0010PWM mode 1

0011PWM mode 2 
0100Phase counting mode 1 
0101Phase counting mode 2 
0110Phase counting mode 3 
0111Phase counting mode 4 
1000Reset-synchronized PWM mode*
1
1001Setting prohibited
1 0 1 x Setting prohibited
1100Setting prohibited
1101Complementary PWM mode 1 (transfer at crest)*
1
1110Complementary PWM mode 2 (transfer at trough)*
1
1111Complementary PWM mode 3 (transfer at crest and
trough)*
1