Renesas RX100 Series User Manual page 398

32-bit mcu
Hide thumbs Also See for RX100 Series:
Table of Contents

Advertisement

RX13T Group
(3) Selecting Timing for Transfer from Buffer Registers to Timer General Registers in Buffer
Operation
The timing for transfer from buffer registers to timer general registers can be selected in PWM mode 1 or 2 for MTU0 or
in PWM mode 1 for MTU3 and MTU4 by setting the buffer operation transfer mode registers (MTUn.TBTM (n = 0, 3,
4)). Either compare match (value after reset) or TCNT clearing can be selected for the transfer timing. TCNT clearing as
transfer timing is one of the following cases.
 When TCNT overflows (FFFFh to 0000h)
 When 0000h is written to TCNT during counting
 When TCNT becomes 0000h under the condition specified in the CCLR[2:0] bits in TCR
Note:
TBTM must be modified only while TCNT stops.
Figure 19.19 shows an operation example in which PWM mode 1 is designated for MTU0 and buffer operation is
designated for MTU0.TGRA and MTU0.TGRC. The settings used in this example are MTU0.TCNT clearing by
compare match B, high output at compare match A, and low output at compare match B. The TTSA bit in MTU0.TBTM
is set to 1.
MTU0.TCNT value
MTU0.TGRB
MTU0.TGRA
0000h
MTU0.TGRC
MTU0.TGRA
MTIOC0A
Figure 19.19
Example of Buffer Operation When MTU0.TCNT Clearing is Selected for MTU0.TGRC to
MTU0.TGRA Transfer Timing
R01UH0822EJ0100 Rev.1.00
Jul 31, 2019
0450h
0200h
0200h
0450h
Transfer
0200h
19. Multi-Function Timer Pulse Unit 3 (MTU3c)
0520h
0450h
0520h
0520h
Time
Page 398 of 1041

Advertisement

Table of Contents
loading

Table of Contents