R01UH0822EJ0100 Rev.1.00
Page 370 of 1041
Jul 31, 2019
RX13T Group
19. Multi-Function Timer Pulse Unit 3 (MTU3c)
19.2.25
Timer Subcounter (TCNTSA)
Note:
TCNTSA must not be accessed in 8 bits; it should be accessed in 16 bits.
TCNTSA is a 16-bit read-only counter used only in complementary PWM mode.
The initial value of TCNTSA after a reset is 0000h.
19.2.26
Timer Period Data Register (TCDRA)
Note:
TCDRA must not be accessed in 8 bits; it should be accessed in 16 bits.
TCDRA is a 16-bit readable/writable register used only in complementary PWM mode. Set half the PWM carrier period
as the TCDRA value. The TCDRA register is constantly compared with the TCNTSA counter in complementary PWM
mode, respectively. When a match occurs, the TCNTSA counter switches the count direction (down-count to up-count).
The initial value of TCDRA after a reset is FFFFh.
Table 19.39
Output Level Select Function
Bit 2
Bit 1
Bit 0
Function
WF
VF
UF
MTIOC3B
MTIOC4A
MTIOC4B
MTIOC3D
MTIOC4C
MTIOC4D
U Phase
V Phase
W Phase
U Phase
V Phase
W Phase
0
0
0
OFF
OFF
OFF
OFF
OFF
OFF
0
0
1
ON
OFF
OFF
OFF
OFF
ON
0
1
0
OFF
ON
OFF
ON
OFF
OFF
0
1
1
OFF
ON
OFF
OFF
OFF
ON
1
0
0
OFF
OFF
ON
OFF
ON
OFF
1
0
1
ON
OFF
OFF
OFF
ON
OFF
1
1
0
OFF
OFF
ON
ON
OFF
OFF
1
1
1
OFF
OFF
OFF
OFF
OFF
OFF
Address(es): MTU.TCNTSA 0009 5220h
b15
b14
b13
b12
b11
b10
b9
b8
b7
b6
b5
b4
b3
b2
b1
b0
Value after reset:
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Address(es): MTU.TCDRA 0009 5214h
b15
b14
b13
b12
b11
b10
b9
b8
b7
b6
b5
b4
b3
b2
b1
b0
Value after reset:
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1