Section 18 Multi-Function Timer Pulse Unit (MTU)
Rev. 4.00 Sep. 14, 2005 Page 561 of 982
REJ09B0023-0400
18.3.13 Timer Subcounter (TCNTS)
TCNTS is a 16-bit read-only counter that is used only in complementary PWM mode.
Note: Accessing TCNTS in 8-bit units is prohibited. Always access in 16-bit units.
18.3.14 Timer Dead Time Data Register (TDDR)
TDDR is a 16-bit register, used only in complementary PWM mode, that specifies the TCNT_3
and TCNT_4 counter offset values. In complementary PWM mode, when the TCNT_3 and
TCNT_4 counters are cleared and then restarted, the TDDR value is loaded into the TCNT_3
counter and the count operation starts.
Note: Accessing TDDR in 8-bit units is prohibited. Always access in 16-bit units.
18.3.15 Timer Period Data Register (TCDR)
TCDR is a 16-bit register used only in complementary PWM mode. Set half the PWM carrier sync
value as the TCDR value. This register is constantly compared with the TCNTS counter in
complementary PWM mode, and when a match occurs, the TCNTS counter switches direction
(decrement to increment).
Note: Accessing TCDR in 8-bit units is prohibited. Always access in 16-bit units.
18.3.16 Timer Period Buffer Register (TCBR)
TCBR is a 16-bit register used only in complementary PWM mode. It functions as a buffer
register for TCDR. The TCBR values are transferred to TCDR with the transfer timing set in
TMDR.
Note: Accessing TCBR in 8-bit units is prohibited. Always access in 16-bit units.