Product Info

Table Of Contents
R01UH0823EJ0110 Rev.1.10 Page 519 of 1852
Nov 30, 2020
RX23W Group 23. Multi-Function Timer Pulse Unit 2 (MTU2a)
23.2.23 Timer Cycle Data Register (TCDR)
Note: The TCDR registers must not be accessed in 8-bit units; they should be accessed in 16-bit units.
The TCDR register specifies the count value to switch the count direction of the TCNTS counter. These registers are
used only in complementary PWM mode. Set half the PWM cycle as the TCDR register value. The TCDR register is
constantly compared with the TCNTS counter in complementary PWM mode, and when a match occurs, the TCNTS
counter switches direction (down-count to up-count).
23.2.24 Timer Cycle Buffer Register (TCBR)
Note: The TCBR registers must not be accessed in 8-bit units; they should be accessed in 16-bit units.
The TCBR register functions as a buffer register for the TCDR register, and specifies the count value to switch the count
direction of the TCNTS counter. This register is used only in complementary PWM mode. The TCBR register value is
transferred to the TCDR register with the transfer timing set in the TMDR register.
Address(es): MTU.TCDR 000D 0A14h
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
Value after reset:
1111111111111111
Address(es): MTU.TCBR 000D 0A22h
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
Value after reset:
1111111111111111